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

RE: Fast text output from SAX?


sax vs xmlreader
Dennis Sosnoski wrote:
> I think this *would* be a fair comparison test for 
> the ASN.1 "fast infoset" approach
	Yes. You are correct. Both the ASN.1-based X.finfo and XBIS
are binary encodings for "schema-free" XML documents. Thus, it makes
sense to compare them to each other. It wouldn't be fair to compare
XBIS to a "schema-based" binary encoding since the schema-based system
would almost surely blow XBIS away in both compactness as well as
parsing speed. 
	It is important to note that by saying that well-implemented
schema based approaches would be faster/smaller/etc. than XBIS, I'm
not saying anything negative about XBIS. We're talking here about two
classes of solution. (schema-based and schema-free) Each class is more
or less appropriate and useful in different contexts and each has
qualities that the other can't match. An orange should not be sorry
that it is less crunchy than an apple.

Thomas B. Passin wrote:
> But presumably the alternative "quasi-xml" you will be 
> testing will not likely be producing SAX events, but 
> instead some proprietary parse system instead.
	Why would this be assumed? It seems to me that SAX has proved
its utility and that anyone who builds an alternative to XML should
probably ensure that an XMLReader can be built for it that behaves as
a normal SAX reader would. The application user should be shielded as
much as possible from concern for the on-the-wire or on-disk format of
the data they are working with. I suspect that a format that was
somehow "incapable" of producing SAX events faithfully is probably
fundamentally flawed in its ability to represent XML documents.

		bob wyman


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.