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

Re: Who will maintain SAX?

  • From: David Megginson <david@m...>
  • To: xml-dev <xml-dev@l...>
  • Date: Tue, 03 Oct 2000 06:52:38 -0400 (EDT)

cdata sax
Paul Tchistopolskii writes:

 [kind words about SAX omitted]

 > SAX2 is also not as reliable as SAX1 was 
 > ( I'm using the version from SAXON.jar - no 
 > real problems there, just some small problems, 
 > when systemID gets 'lost' e  t.c. ). 

Bug reports are welcome -- there are a couple of known bugs in the
SAX2 support classes already, and I'm going to put out a bug-fix
(2.01) release this fall; there will be no API changes, just
corrections to bugs in JavaDoc and support classes.

For the most part, though, the reliability issue is probably just a
result of the fact that the various parsers' SAX1 drivers are much
more mature than SAX2 drivers; that will change in time.

 > I don't know what was the idea behind 'comments are optional' in
 > SAX1. I can't even *guess* what was the idea.  My guess is that
 > five ( six? two ? ) developers decided "ah - usually people don't
 > need access to comments".

We had a long discussion over this during the initial design, and
opinions were split.  The final rationale is that SAX1 was designed to
be a production API (XML to something else), so it needed to preserve
only the logical content of the document.  A lot of the purely lexical
stuff -- CDATA section boundaries, comments, whitespace inside tags,
original order of attributes, etc. -- was omitted to keep SAX simple.

We also wanted to help avoid the mess in the HTML world, where people
put significant information, such as programming code, in comments;
the fact that that is not a common practice in XML today may be partly
a result of our original SAX1 design decisions (XML-Dev'ers can all
pause here to pat themselves on the back).

Everyone has one pet lexical feature that was left out (I actually get
about three pieces of mail mentioning CDATA section boundaries for
every one mentioning comments), but on balance,


All the best,


David

-- 
David Megginson                 david@m...
           http://www.megginson.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.