Summary of Namespaces and Validation

David Megginson david at megginson.com
Thu Sep 10 19:55:21 BST 1998


Tim Bray writes:

 > At 11:30 AM 9/10/98 -0500, Mark Tucker wrote:

 > >*****************************************
 > >	Camp1 : Most of this Newsgroup 
 > >*****************************************
 > >		Documents with Namespaces can be validated provided
 > >		the prefix abbreviations are used consistently.
 > 
 > I don't think that too many people feel this way.  I hope not,
 > because the namespace draft makes it 100% clear that the prefix in
 > and of itself has no meaning, and is just a short-form stand-in to
 > a URI.

People are fumbling around because they're mixing up validation and
processing.

If we're talking about DTD validation (as the original message was),
then this camp is correct: as defined in the XML 1.0 REC, DTD
validation is concerned entirely with surface names and can have no
knowledge of the underlying namespace URI.

Namespace-aware XML *processing*, on the other hand, must ignore the
prefix and work with the namespace URI, as explained in the Namespaces
WD.

When the XML Schema WG finishes its work, we should have a standard
way to do namespace-aware validation; in the mean time, XML 1.0 DTDs
is all we have.


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