Summary of Namespaces and Validation

John Cowan cowan at locke.ccil.org
Fri Sep 11 17:02:30 BST 1998


Liam R. E. Quin wrote:

> If a DTD refers to multiple external definition sets, with multiple
> prefixes, it is necessary to determine the source of each referenced
> element type, which may require a two-pass algorithm to collect all
> of the element definitions and then associate them with the right
> prefixes.  The fact that an element type can be referred to before
> it is declared makes this slightly more complex, but is necessary...

One pass is sufficient, even if prefixes are not defined before
they are referenced, provided that the default prefix is declared
somehow.
 
> Tim, what am I missing?  Apart from the face that we lack a good
> way to associate a DTD or DTD fragment with a prefix, I mean?

Nothing as far as I can see.  Of course the result is not SGML-compliant
DTD-based validation, but it is validation of XML using DTDs.

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