Namespace handling in XML Processors

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


schen at falconwing.com 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
situations.

 > 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

-- 
David Megginson                 david at megginson.com
           http://www.megginson.com/

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