[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: ASN.1 is an XML Schema Language (Fix those lists!)andBinar


lwer
Robin Berjon wrote:
> Alaric B Snell wrote:
> 
>> Robin Berjon wrote:
>>
>>> If all you have is an ASN.1 schema, and you're on the receiving side, 
>>> you don't know what you're going to get. If it's an ER you don't know 
>>> about you won't read it. That just won't happen if you're using XML. 
>>> You can chose to consider this unimportant, but a lot of us XML folks 
>>> think it is a core asset.
>>
>>
>> Heheh, any XML folk who thinks that this is an asset of XML haven't read:
>>
>> http://www.w3.org/TR/REC-xml#charencoding
>>
>> "processors are, of course, not required to support all 
>> IANA-registered encodings"
> 
> 
> There are several levels of concreteness, and they will vary according 
> to who you talk to. To some endianness is of high importance, while 
> others will tell you that it doesn't matter at the level at which they 
> are working. XML hits the concrete level when it reaches Unicode, 
> anything below that being pretty much someone else's problem. I guess 
> that's part of what makes it a textual format.

I think the level of concreteness you were referring to was that 
required for interoperability. Somebody somewhere along the line seemed 
to incorrectly think that a standards compliant XML parser could parse 
any standards compliant XML document. However, XML is not that 
interoperable; valid documents may be rejected by the parser because it 
just doesn't know the character set involved.

"The ASN.1 equivalent of a simple XML parser in terms of universality 
would have to properly decode (and likely handle negotiation for) BER, 
PER, CER, DER, XER, and probably LWER, OER, and SER. That's a bit of a 
behemoth to implement!"

The ASN.1 'equivelant' of a normal XML parser would just need to support 
BER, which is the current conventional "minimal" encoding. An ASN.1 
toolkit that supported "BER, PER, CER, DER, XER, and probably LWER, OER, 
and SER" would be more closely related to an XML parser that supported 
US-ASCII, UTF-8, UTF-7, UTF-16, EBCDIC, ISO-8859-[1..15], Shift-JIS, 
Baudot, etc...

> 
> That being said, I'd have been happier with just UTF-8 and UTF-16, but 
> I'm nevertheless happy with what we have now.
> 

So you *aren't* one of these people who thinks that a single concrete 
syntax (for interoperability reasons) is important, then? :-)

ABS


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.