[
Lists Home |
Date Index |
Thread Index
]
- From: David Megginson <ak117@freenet.carleton.ca>
- To: xml-dev Mailing List <xml-dev@ic.ac.uk>
- Date: Fri, 20 Mar 1998 10:41:22 -0500
The draft version of the Simple API for XML (SAX) came out just over
two months ago, and it has proven far more successful than I expected
-- hundreds of developers have downloaded the Java interface, four of
the six Java-based XML parsers now contain native SAX drivers (I have
written temporary drivers for the other two), and many people are
designing applications built around SAX.
After two months' experience with the draft interface, however, users
have discovered four serious omissions in the original design:
1) there is no standard way to read an XML document from an input
stream;
2) there is no way to obtain contextual information (system id, line
number, etc.) for reporting application errors;
3) there is no way to obtain external identifiers for an attribute of
type NOTATIONS or ENTITIES when more than one notation or entity
name is provided; and
4) there is no way to distinguish between recoverable and
unrecoverable errors, as required by the XML REC.
People have also rightly complained that the AttributeMap interface is
too complicated. I have put together a web page containing my
suggestions for revisions to fix these problems and generally to clean
up the SAX interface; you will find the proposed revisions at the
following URL:
http://www.microstar.com/XML/SAX/proposed-changes.html
If you are interested in SAX, either as a parser writer or as an
application writer, please take a few minutes to read through this web
page. I will look forward to receiving your comments, corrections,
and suggestions.
All the best,
David
--
David Megginson ak117@freenet.carleton.ca
Microstar Software Ltd. dmeggins@microstar.com
http://home.sprynet.com/sprynet/dmeggins/
xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)
|