OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   xml-dev Digest V1 #242

[ Lists Home | Date Index | Thread Index ]
  • From: "Oren Ben-Kiki" <oren@capella.co.il>
  • To: "XML List" <xml-dev@ic.ac.uk>
  • Date: Tue, 16 Feb 1999 14:05:22 +0200

keshlam@us.ibm.com wrote:

>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.


? It isn't clear to me what the difference between "inner semantics" and
"accessing" is, but I'm willing to learn :-) I guess it is time to read some
more W3 specs...

>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.


Mild disagreement :-) DOM is a random access API, not a visitor pattern API.
But I'm perfectly satisfied accepting both as being wrappers for some other
"inner semantics" representation - which I suspect is what happens in most
implementations anyway.

Share & Enjoy,

    Oren Ben-Kiki


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/ and on CD-ROM/ISBN 981-02-3594-1
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)





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS