From 18bd1239bee04427340a44f57f993ea92c264e41 Mon Sep 17 00:00:00 2001 From: Kenneth Lundin Date: Fri, 19 Feb 2010 14:01:57 +0000 Subject: OTP-8463 Support for EXTENSIBILITY IMPLIED and SET/SEQ OF NamedType is added. --- .../test/asn1_bin_v2_SUITE_data/PartialDecMyHTTP.asn | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 lib/asn1/test/asn1_bin_v2_SUITE_data/PartialDecMyHTTP.asn (limited to 'lib/asn1/test/asn1_bin_v2_SUITE_data/PartialDecMyHTTP.asn') diff --git a/lib/asn1/test/asn1_bin_v2_SUITE_data/PartialDecMyHTTP.asn b/lib/asn1/test/asn1_bin_v2_SUITE_data/PartialDecMyHTTP.asn new file mode 100644 index 0000000000..aad3c4d833 --- /dev/null +++ b/lib/asn1/test/asn1_bin_v2_SUITE_data/PartialDecMyHTTP.asn @@ -0,0 +1,19 @@ +PartialDecMyHTTP DEFINITIONS AUTOMATIC TAGS ::= + +BEGIN + +GetRequest ::= SEQUENCE { + header-only BOOLEAN, + lock BOOLEAN, + accept-types AcceptTypes, + url Url, ... +} + +AcceptTypes ::= SET { + standards BIT STRING {html(0), plain-text(1), gif(2), jpeg(3)} (SIZE (4)) OPTIONAL, + others SEQUENCE OF VisibleString (SIZE (4)) OPTIONAL +} + +Url ::= VisibleString (FROM ("a".."z"|"A".."Z"|"0".."9"| "./-_~%#")) + +END -- cgit v1.2.3