Namespaces hate validation!

james anderson James.Anderson at mecomnet.de
Wed Jan 6 17:42:11 GMT 1999


Ronald Bourret wrote:
> ...
> If you are stating that the algorithm doesn't work because you have to
> inspect the entire document first, that's a circular argument.  The
> algorithm clearly states that the document must be preprocessed, so you
> can't use that as an argument against it working.  (Note that such
> preprocessing is necessary to use the algorithm with current parsers.  This
> prefix substitution could be done at parse time by a specialized parser.)
> 

this is the method used by the processor described earlier. (http://www.lists.ic.ac.uk/hypermail/xml-dev/9812/0276.html)

> > > Well, tedious enough to make it unlikely that anyone will use
> > > validation on documents that utilize namespaces. It is hard.
> > > It is too hard. And for that reason, among others, Veo has
> > > vociferously opposed "Namespaces in XML".
> 
> This might be true, although it is easy enough to write a tool that did the
> preprocessing necessary for this to work with the current batch of parsers.

the trivial demonstration is the reserialization in the cited note.

>  In the long run, these questions disappear anyway, as the current schema
> proposals can declare which namespace a given element or attribute belongs
> to, thus solving the problem of no namespace declarations in the DTD.
> 

schemas have many arguments in their favour, but are not strictly necessary in
order to accomplish this.


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