Namespaces and Validating XML Parsers Question

Bruce D. Nilo bruce at nilo.com
Fri Dec 31 03:07:03 GMT 1999


Apologies if this is a well understood question. I am recently slogging
through the XML specs and tools and have not really found anything
that sheds light on this question. I hope the answer is a simple one.

I believe I understand the rationale and syntax of namespaces for XML
application instances. However I can find nowhere any explanation
as to how a validating parser knows how to associate an element or
attribute that is in a specific namespace with the elements and
attributes of either an external or internal DTD reference. Am I
missing something here, or is the specification punting entirely on
the issue? It seems to me that either the application instance must
associate a namespace declaration with a specific DTD or the DTD
itself must declare its name. If this is not the case the XML parser
has a difficult job determining how to interpret the names in a namespace
with those of a number of referenced DTDs which have name collisions.

- Bruce




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