Subject: Re: Why Doesn't IE5 use the DTD to Validate? From: Chris Lilley <chris@xxxxxx> Date: Sun, 04 Apr 1999 16:30:46 +0200 |
James Clark wrote: > > 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, Could you elaborate on the cases where it would fail? > 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. Then that should be taken as a defect report. > 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. Which it would never do, since you declared the document to be standalone, which means that the results of reading and of not reading the DTD are the same; in which case, why read it? > James > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: Why Doesn't IE5 use the DTD to, James Clark | Thread | XML is broken (was Re: Why Doesn't , Simon St.Laurent |
Re: do you use pi's?, Andy Dent | Date | Re: XML is broken (was Re: Why Does, Chris Lilley |
Month |