|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Summary of Namespaces and Validation
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@m...
http://www.megginson.com/
xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i...
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@i... the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








