Next Round

John Cowan cowan at locke.ccil.org
Thu Jan 21 20:14:17 GMT 1999


james anderson wrote:

> Neither the prefix nor the qualified name have the same permanence as the
> local name, the namespace and the expanded name. One could well collect all
> prefixes in connection with which as symbol appeared, but the values are of no
> use as the bindings have dynamic extent.

Granted, but it is still necessary to publish the current
prefix->URI map, as things that are semantically interpretable by a
specific application as QNames may appear in #PCDATA content, CDATA
attribute values, PI content, or other such places where
an unassisted parser cannot detect and decode them.  The application
must therefore determine the URI itself.

> this, for example, is defined only at the moment the element is being
> processed. outside of the element's scope there is no defined result.

This is already true of the SAX attribute map, as the SAX documentation
warns; in fact, parsers are free to reuse the same object for *every*
attribute map.

-- 
John Cowan	http://www.ccil.org/~cowan		cowan at ccil.org
	You tollerday donsk?  N.  You tolkatiff scowegian?  Nn.
	You spigotty anglease?  Nnn.  You phonio saxo?  Nnnn.
		Clear all so!  'Tis a Jute.... (Finnegans Wake 16.5)

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