Namespace handling in XML Processors

David Megginson david at
Sun Aug 29 18:52:38 BST 1999

schen at writes:

 > 1) If an XML processor was semantically interpreting an XML document but
 > encounters an unknown namespace, is it mandated to ignore all elements and
 > attributes in that namespace?  I thought this was the case, but after
 > re-reading the standard I see it's not defined.  If this is not
 > standardized, can anyone say what is currently the common practice?

I'd expect that it is the responsibility of the Namespace designer to
specify this: there is no single set of rules that will work for all

 > 2) How should a validating XML parser deal with namespaces?  

The validating parser must validate against the DTD -- the validation
(at least, as defined by XML 1.0) doesn't concern Namespaces.

All the best,


David Megginson                 david at

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at
Archived as: and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:majordomo at the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at

More information about the Xml-dev mailing list