roundtripping is just that [Re: SAX2: Namespace proposal]

james anderson James.Anderson at mecomnet.de
Mon Dec 20 19:42:05 GMT 1999


What are parties who are intrested in roundtripping planning to do when the
document tree is modified between parsing and serializing? For example to move
an element from one part of the tree to another. For example to a portion of
the tree where the prefix is captured? As soon as a tree is modified, the
prefix can no longer be assumed valid and may need to be regenerated for serialization.

Either the prefixes are unique within the scope of a document and static
relations to the respective uri's suffice, or, they are not unique to a
document and only a lookup based on a lexically apparent uri binding can be
guaranteed to produce a correct prefix. In the former case binding the prefix
to the name is redundant. In the latter case it is incorrect.

I like the idea of the instance-based API. It will make it easier to ignore
the prefixes.


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 unsubscribe, mailto:majordomo at ic.ac.uk the following message;
unsubscribe 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