Subject: Re: SUMMARY: XML Validation Issues (was: several threads) From: James Clark <jjc@xxxxxxxxxx> Date: Thu, 08 Apr 1999 23:03:18 +0700 |
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 XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: SUMMARY: XML Validation Issues , Chris Lilley | Thread | RE: SUMMARY: XML Validation Issues , Jelks Cabaniss |
Comments Appreciated on Magazine Ba, Mark Birbeck | Date | RE: White spaces and tabs in XSL, David Schach |
Month |