Do you or Dont you buy Tim Bray's Namespace Validation Algorithm?

John Cowan cowan at locke.ccil.org
Thu Sep 10 22:51:17 BST 1998


Mark Tucker wrote:

>         DO YOU OR DONT YOU BUY TIM BRAY'S ALGORITHM for
>         DTD validation in the face of Namespaces:

On reflection, I don't --- quite.
 
>                 4. Do the same to the DTD's that you read in.

This is the sticky bit.  Tim Bray phrases it as "If necessary, rewrite
the DTD so that the same URIs have the same prefixes in DTD and
instance."

However, there is no formal way to express what prefixes in the DTD
refer to what namespace URIs.  In essence, you must know that in
advance.  For validation to be a mechanical process, you must have
some way of recording the frozen namespace-URI map for the DTD.

(Please don't mutter "PI".  That is what the old draft had, and a good
thing it was too, but the new draft abandoned it.)

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