xml-dev Digest V1 #242

keshlam at us.ibm.com keshlam at us.ibm.com
Mon Feb 15 15:45:05 GMT 1999


Oren said:
>IMVHO SAX should be defined not as a "parser interface" but as a "DOM tree
>visitor interface".

Mild disagreement, related to where DOM is positioned. The Document Object
Model, despite its name, is not intended to be the Official Inner Semantics
of XML. (That's the Infoset WG's problem.) DOM is just an API for accessing
a document, which happens to be organized in a way that closely resembles a
parse tree.

If you want to say that both DOM and SAX should be considered as visitors
to the parse tree, I'll buy it. And certainly parsers _can_ output a parse
tree whose structure mirrors the DOM.
______________________________________
Joe Kesselman  / IBM Research
Unless stated otherwise, all opinions are solely those of the author.



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/ and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)




More information about the Xml-dev mailing list