OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: [xml-dev] Fwd: [e-lang] Protocol implementation errors

[ Lists Home | Date Index | Thread Index ]

On Friday 03 October 2003 13:10, Simon St.Laurent wrote:
> In my explorations, ASN.1 toolkits felts more to me like data-binding
> kits than XML parsers.  There doesn't seem to be much notion of anything
> like an "ASN.1 infoset", a set of containers and properties you can
> explore without necessarily knowing the bindings.  ASN.1 feels
> effectively schema-driven, designed from the outset to be optimized for
> a world where processes are tightly bound.  There aren't general ASN.1
> "parsers" in the same sense that there are XML parsers, or at least
> there weren't last time I looked.

This lack of layering might be a contributing factor to the
persistence of bugs in ASN.1.

The merging of the "infoset" and the "schema" can be seen as
merging of the lexer and the parser. By complicating the lexer,
ASN.1 has made itself more vulnerable to bugs commonly associated
with a lexer, such as buffer overflow.

I offer this thought only as a plausible theory. I think the
burden is still on the ASN.1 advocates to explain why past
failures will not be repeated.


The union of REST and capability-based security:


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS