|
Hi Ed,
I think in your example you are referring "A" as defined type, correct ?
"A" is CHOICE here, so it will encoded like ChoiceType. Look at clause 25.5
(Table 5).
Following are the XER encoding of the value notations.
value A ::= a : 1
XER Encoding (Look at clause 28.10)
<A>
<a>1</a>
</A> If you have a value notation,
value B ::= {a : 1}
XER Encoding (Look at clause 25.3 and 25.5)
<B>
<a>1</a> </B> Further, the encoding of "value" with two elements will be,
value B ::= {a : 1, b : TRUE}
<B>
<a>1</a> <b><true/></b> </B> I hope this may help you.
Regards,
Rajul Gupta
Oss Nokalva (www.oss.com)
732 302 9669 (x137)
|
- [ASN.1] Question on XER encoding of SEQUENCE OF element type... Ed Day
- Re: [ASN.1] Question on XER encoding of SEQUENCE OF ele... Rajul Gupta
- Re: [ASN.1] Question on XER encoding of SEQUENCE OF ele... John Larmouth
- RE: [ASN.1] Question on XER encoding of SEQUENCE OF ele... Prasad Vasa
- Re: [ASN.1] Question on XER encoding of SEQUENCE OF... John Larmouth
- Re: [ASN.1] Question on XER encoding of SEQUENCE OF... John Larmouth
- RE: [ASN.1] Question on XER encoding of SEQUENCE OF ele... Prasad Vasa
