ak117 at freenet.carleton.ca
Mon Dec 29 12:03:42 GMT 1997
Paul Prescod writes:
> > In other words, a DOM builder would be just another an event-based
> > SAX-J application.
> I don't think that this model is possible. It would require SAX to support
> all of the information that the DOM needs. That would knock the "Simple"
> right out of SAX.
Not necessarily. A level-one DOM does not require that much, and we
could elect not to deliver certain information (like comments). I am
not suggesting that we deliver the information required for the
XML-specific DTD nodes.
If we omit comments, then SAX-J would have to return only the
This should be sufficient for building a useful DOM. Strictly by the
book, we specify whether each attribute was specified or defaulted,
and we should specify which text is ignorable whitespace.
All the best,
David Megginson ak117 at freenet.carleton.ca
Microstar Software Ltd. dmeggins at microstar.com
xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)
More information about the Xml-dev