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

Re: SAX for Binary Encodings (SAD-SAX)


sax faking
Alaric B Snell wrote:



> You can have an entire SAX pipeline without a single byte of XML; a 
> database backend that emits SAX events 'faking' an XML document that 
> goes into an XSLT engine that outputs a string of HTML. No XML actually 
> involved! There's a conceptual 'virtual' XML document that exists 
> between the database and the XSLT engine, but no pointy brackets were 
> harmed in its construction :-) 

What would that virtual XML document be encoded in?


> All the guy is proposing to expand upon is the idea that element and 
> attribute content be optionally presented by the SAX API as native 
> values, where the SAX parser has enough information to do so. 

Why does this need to be done within SAX?


> It doesn't have to be non-Unicode, now, does it? It would be quite 
> useful for normal XML with an associated schema, too. The original 
> poster was coming at this issue from the viewpoint of binary encodings 
> where it's more efficient to present the code directly with a native 
> integer than to convert from two's complement form to text only to have 
> the application convert back again - but the application of a 
> typed-values-in-SAX interface is wide than that!

Efficient maybe. Whether it's more effective is another matter.


Bill de hÓra
-- 
Technical Architect
Propylon
http://www.propylon.com


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.