Your using B or C as identifiers for components is wrong : you should use b
or c instead (components must begin with lower case letter). The XER
encoding is :
<A>
  <b>35</b>
  <c>22</c>
</A>

Bruno KONIK - uniGone
Tel : +33 (0)1 60 12 77 64
Fax : +33 (0)1 60 12 77 65
41-43 rue de Cronstadt - 75015 PARIS FRANCE
mailto:[EMAIL PROTECTED]
URL : http://www.unigone.com

-- uniGone provides a complete environment for ASN.1 users : JAVA compiler,
ASN.1 IP analyzer, simulator... contact us for more information... --

> -----Message d'origine-----
> De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]De la part de
> [EMAIL PROTECTED]
> Envoy� : lundi 15 juillet 2002 10:17
> � : [EMAIL PROTECTED]
> Objet : [ASN.1] ASN & XML
>
>
>
> Hello All,
>
> I'm studying  XER(xml encoding rules). I was not able find any document
> which specified these rules along with examples the way we have
> specifications like x209 for BER and x691 for PER.
> Is there any document specifying XER??
>
> Suppose I have ASN format something like
>
> A ::=Sequence
> {
>      B    Integer,
>      C    [1]Octet String,
> }
>
> For the above syntax an example of BER encoded data would be
> 30 06 02 01 23 81 01 22
>
> Can anyone tell how will we encode the above ASN format using XER??
>
> Thanks & regards
> Trupti
>

Reply via email to