[
Lists Home |
Date Index |
Thread Index
]
- From: David Megginson <ak117@freenet.carleton.ca>
- To: "XML Developers' List" <xml-dev@ic.ac.uk>
- Date: Wed, 22 Apr 1998 07:42:40 -0400
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@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)
|