Subject: RE: Why Doesn't IE5 use the DTD to Validate? From: "Didier PH Martin" <martind@xxxxxxxxxxxxx> Date: Thu, 1 Apr 1999 15:34:35 -0500 |
HI Jeff, <YourComment> The problem is that the browser is really a processing application, for example, using XSL to transform or render the document (at least in principle). If the document is supposed to conform to a DTD, the XSL code will be a lot simpler if it can assume it will find what it wants where it expects it. </YourComment> <Reply> your don't need a DTD for this. A XSL processor can do its work on a document without DTD </Reply> <YourComment> If it has to handle any well-formed doc, the error recovery code will be fearsome. Can you explain a bit more what you mean here? In the example below, the XSL for processing the BAZ element below may depend upon attribute values or text of the supposedly preceding BAR element. If the BAR element might not be present or might follow the BAZ element, the XSL would need to be messier. </YourComment> <Reply> Good point. But the style sheet may not be a XSL style but a CSS one which do not require structural integrity. So, if I follow you, any document associated to a XSL style sheet should have a full DTD to do error handling? I think this is not necessary, when the XSL processor witll execute, the query on a particular element will fail and then the XSL processor can give back an error message. </reply> regards Didier PH Martin mailto:martind@xxxxxxxxxxxxx http://www.netfolder.com 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, Didier PH Martin | Thread | Re: Why Doesn't IE5 use the DTD to, Chris Lilley |
RE: Why Doesn't IE5 use the DTD to, Jelks Cabaniss | Date | RE: Why Doesn't IE5 use the DTD to, Jelks Cabaniss |
Month |