ASN.1 to XML Convertion

  • Thread starter Thread starter MARK ROCKMAN
  • Start date Start date
M

MARK ROCKMAN

I have just opened a career door that leads to ASN.1 which is, it turns and
is new to me, a way to represent structured data much as XML is a way to
represent structured data. Only ASN.1 is, I believe, a little older and was
originally intended as a way to transmit structured data over communications
circuits. ASN.1 has been used as a formalism in RFCs for describing
protocols. ASN.1 is (sometimes?) binary whereas XML is human readable text.
Anyhow, now I've stumbled over a series of public databases that have been
encoded in ASN.1 primarily, I am told, to compress the data, with respect to
the size the databases would be were they encoded as XML. In the world of
Java, there may well be means to traverse an ASN.1 tree (e.g. by using SAX2
events) as there are means in C# to traverse an XML tree. But what about
Microsoft? Does Microsoft offer something that is familiar with ASN.1 or
can translate ASN.1 to XML? My researches using MSDN Library say: NO.
 
Hello Mark,

Thanks for your post. I am currently looking for appropriate resource to
help you with this issue. We will reply you as soon as possible.

Have a nice day!

Regards,

HuangTM
Microsoft Online Partner Support
MCSE/MCSD

Get Secure! -- www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
 
Hi, Mark

My research coincides with yours so far. I've got one possibility still
outstanding, but I am not optimistic. I was able to locate a couple of
other options using the following google search. You might want to give
them a look.

http://www.google.com/search?hl=en&ie=UTF-8&oe=UTF-8&q=ASN.1+XML

Thank you for choosing the MSDN Managed Newsgroups,

John Eikanger
Microsoft Developer Support

This posting is provided “AS IS” with no warranties, and confers no rights.
--------------------
| From: (e-mail address removed) (Tian Min Huang)
| Organization: Microsoft
| Date: Thu, 25 Mar 2004 12:14:54 GMT
| Subject: RE: ASN.1 to XML Convertion
| X-Tomcat-NG: microsoft.public.dotnet.general|
| Hello Mark,
|
| Thanks for your post. I am currently looking for appropriate resource to
| help you with this issue. We will reply you as soon as possible.
|
| Have a nice day!
|
| Regards,
|
| HuangTM
| Microsoft Online Partner Support
| MCSE/MCSD
|
| Get Secure! -- www.microsoft.com/security
| This posting is provided "as is" with no warranties and confers no rights.
|
|
 
Hi, Mark

If Microsoft has a product that performs ASN.1 to XML conversion, no one I
contacted knows anything about it.

I hope that one of the vendors I mentioned in my previous post has a
product that will meet your needs.

Sincerely,,

John Eikanger
Microsoft Developer Support

This posting is provided “AS IS” with no warranties, and confers no rights.
--------------------
| Reply-To: "MARK ROCKMAN" <[email protected]>
| From: "MARK ROCKMAN" <[email protected]>
| Subject: ASN.1 to XML Convertion
| Date: Wed, 24 Mar 2004 20:59:33 -0500
| Lines: 16
| X-Tomcat-NG: microsoft.public.dotnet.general
|
| I have just opened a career door that leads to ASN.1 which is, it turns
and
| is new to me, a way to represent structured data much as XML is a way to
| represent structured data. Only ASN.1 is, I believe, a little older and
was
| originally intended as a way to transmit structured data over
communications
| circuits. ASN.1 has been used as a formalism in RFCs for describing
| protocols. ASN.1 is (sometimes?) binary whereas XML is human readable
text.
| Anyhow, now I've stumbled over a series of public databases that have been
| encoded in ASN.1 primarily, I am told, to compress the data, with respect
to
| the size the databases would be were they encoded as XML. In the world of
| Java, there may well be means to traverse an ASN.1 tree (e.g. by using
SAX2
| events) as there are means in C# to traverse an XML tree. But what about
| Microsoft? Does Microsoft offer something that is familiar with ASN.1 or
| can translate ASN.1 to XML? My researches using MSDN Library say: NO.
|
|
|
|
 
MARK ROCKMAN said:
I have just opened a career door that leads to ASN.1 which is, it turns and
is new to me, a way to represent structured data much as XML is a way to
represent structured data. Only ASN.1 is, I believe, a little older and was
originally intended as a way to transmit structured data over communications
circuits. ASN.1 has been used as a formalism in RFCs for describing
protocols. ASN.1 is (sometimes?) binary whereas XML is human readable text.
Anyhow, now I've stumbled over a series of public databases that have been
encoded in ASN.1 primarily, I am told, to compress the data, with respect to
the size the databases would be were they encoded as XML. In the world of
Java, there may well be means to traverse an ASN.1 tree (e.g. by using SAX2
events) as there are means in C# to traverse an XML tree. But what about
Microsoft? Does Microsoft offer something that is familiar with ASN.1 or
can translate ASN.1 to XML? My researches using MSDN Library say: NO.

It depends on what you call "ASN.1 to XML translation".

1. If you want to translate an ASN.1 schema into an XML Schema (XSD),
this is not needed, for ASN.1 is a schema notation for ASN.1, just as
XSD or RELAX NG are. See for example, "ASN.1, a schema language for
XML", by OSS Nokalva, at
http://www.oss.com/products/exer-whitepaper.pdf

2. If you want to encode ASN.1 data in XML, you just need to use the
XER encoding rules of ASN.1 in place of the (binary) BER. For more
information, see:
http://asn1.elibel.tm.fr/xml/#xml-notation
A list of XER tools is given at:
http://asn1.elibel.tm.fr/links/#xml

Olivier Dubuisson
 
Back
Top