1998-04-20 Pre-Release, with Road Map and Demos

David Megginson ak117 at freenet.carleton.ca
Wed Apr 22 13:44:50 BST 1998


Don Park writes:

 > SAX, as it currently stands, does not return XML comments.  This is
 > just fine for one way processing of XML documents.  However, I am
 > having a problem with SAXDOM because of this seemingly irrelavant
 > information loss.
 >
 > I will soon be adding DOM output classes to SAXDOM but documents
 > edited with SAXDOM will lose all comments.  I think this is a
 > significant weakness of SAX.

Comments and CDATA sections will certainly be near the top of the list
for a level-two SAX, if people decide that we need such a beastie.  In
the mean time, please remember that the DOM models everything that
_can_ be represented, not everything that _must_ be represented.

There will probably end up being a core set of information that every
DOM builder must provide, but I'd expect that much of it will be
optional.  A DOM builder for a simple processing tool won't want to
waste nodes for information that it doesn't need (such as internal
entity boundaries).

I think that the chair of the DOM WG, Lauren Wood, reads this list;
perhaps she can comment or correct any mistake that I might have made
here.


All the best,


David

-- 
David Megginson                 ak117 at freenet.carleton.ca
Microstar Software Ltd.         dmeggins at microstar.com
      http://home.sprynet.com/sprynet/dmeggins/

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;
(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