SUMMARY: XML Validation Issues (was: several threads)

James Clark jjc at jclark.com
Thu Apr 8 18:05:36 BST 1999


Chris Lilley wrote:

> > > <!ELEMENT occurring anywhere in the internal or external subset is how
> > > you indicate that a validating parser is required
> 
> There are two related but separate assertions that can be made
> 
> 1) this document is valid
> 2) this document needs a validating parser
> 
> I didn't adequately distinguish these before, which was remis of me.
> 
> > I don't like this (though evidently a number of people are assuming or
> > advocating it).
> 
> I didn't like it much either, but it seemed to be, on inspection, what
> the XML spec said.
> James Clark seemed to agree

Where did you get that idea from? On XSL-List, I said in response to
you:

> Chris Lilley wrote:
> 
> > If that understanding (<!ELEMENT is the validating switch ) is wrong,
> > then please point it out.
> 
> That's probably about the best heuristic there is and would work most
> (although not all) the time, but there's nothing in the spec to warrant
> the claim that this is the intent of the spec, and there's certainly no
> requirement in the spec that a validating parser implement this.
> 
> In any case I'm not sure it would be a good idea for a *browser*
> automatically to use such a heuristic.  Given:
> 
> <?xml verson="1.0" standalone="yes"?>
> <!DOCTYPE doc SYSTEM "doc.dtd">
> <doc>...</doc>
> 
> I don't want to wait for the browser to read "doc.dtd" before it
> displays the document to me.

James


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