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

SAX/C++ vs. SAX2

  • From: David Megginson <david@m...>
  • To: XMLDev list <xml-dev-digest@i...>
  • Date: Fri, 3 Dec 1999 13:21:38 -0500 (EST)

sax vs sax2
I'd like to hear what others think on this issue.  There was some
interest in SAX2 when I posted my alpha interfaces a few months back
(most notably, but not exclusively, from David Brownell), but it was
hardly a tidal wave.  On the other hand, I am noticing a building
pressure from implementors to get something out in C++.

I can think of a few reasons that the world might desperately be
waiting for SAX2:

1. To get some kind of standard Namespace support (or at least a way
   to tell whether a parser has Namespace support built in).

2. To query parser features in general.

3. To get at the stuff that SAX 1.0 doesn't report, like comments,
   CDATA boundaries, and DTD declarations.

I think that there is a real need for #1, since many other specs (XSL,
XML Schema, RDF, XHTML, etc.) are built on top of Namespaces.  I think
that #2 would make life a fair bit easier for library developers, but
it's not as critical (Simon St-Laurent will be grateful, though).

I have a lot of trouble with #3, though.  There are a few specialized
fields where this stuff isn't just syntactic fluff (repositories and
editing tools spring immediately to mind), but in general, very, very,
very few real-world XML applications need to know about anything but
elements, attributes, and character data -- witness the recent SML

I'm very interested in hearing other opinions.  Having a standard
streaming interface stimulated a lot of development of reusable Java
XML processing components, and I'd like to see the same thing happen
in C++, but I need to hear what other people think the priorities
should be.

All the best,


David Megginson                 david@m...

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i...
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To unsubscribe, mailto:majordomo@i... the following message;
unsubscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)


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.