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

Re: SAX for Binary Encodings (preserving investment)(ASN.1 and

supported encodings sax
At 2:03 PM -0500 11/7/03, Bob Wyman wrote:

>	There are a number of possible solutions:
>	1. Insist that all binary types be converted to strings.
>	2. Define an "extended SAX" that passes data with descriptors
>that show the type of data. Thus, a program would be told the type of
>the data being passed and could call a ToString or ToInteger function
>as needed.

Before trying to define an extended SAX, you should make yourself 
aware of the work that has already been done on a schema aware SAX 
(which is a different issue than the question of adding binary data 
to the XML infoset). After much effort by various people, the 
conclusion so far is that type annotation is too ugly and cumbersome 
to be supported within anything resembling SAX. The best that's been 
seen is simply passing a name and a URI for each type along with the 
data. Anything that actually attempted to decode the data in many 
different formats would be even uglier.


   Elliotte Rusty Harold
   Effective XML (Addison-Wesley, 2003)


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.
First Name
Last Name
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.