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

Mark Tucker mct at foyt.indyrad.iupui.edu
Thu Sep 10 23:09:04 BST 1998


John Cowan cowan at ccil.org wrote:

mct>                 4. Do the same to the DTD's that you read in.

jc>This is the sticky bit.  Tim Bray phrases it as "If necessary, rewrite
jc>the DTD so that the same URIs have the same prefixes in DTD and
jc>instance."
jc>
jc>However, there is no formal way to express what prefixes in the DTD
jc>refer to what namespace URIs.  In essence, you must know that in
jc>advance.  

Hmm, isn't there some place at the top of the Document defining
the DTD to write
		xmlns:BK=uri:books
and in so doing define the meaning of the prefixes this DTD uses?


jc> For validation to be a mechanical process, you must have
jc>some way of recording the frozen namespace-URI map for the DTD.
jc>

The namespace_prefix<->URI map for the DTD would be embedded in the DTD

The per-validation normalized_prefix<->namespace mapping
is maintained by the document validator process, and only needs
to live for the validation of a single document.

If you mean the mapping that tells validator processes that
	'The DTD known by "uri:FrenchLibrary"  is the following ....'
then that looks like a resource management issue that can be handled
by a higher level.


-- 
==============================================================
Mark Tucker			tucker_m at regenstrief.iupui.edu
Regenstrief Institute		phone: (317) 630-2606
1001 W. 10'th St; Indianapolis, IN; 46202-2859;	fax: (317) 630-6962

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