[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
RE: Why Doesn't IE5 use the DTD to Validate?
Subject: RE: Why Doesn't IE5 use the DTD to Validate? From: "Didier PH Martin" <martind@xxxxxxxxxxxxx> Date: Wed, 31 Mar 1999 20:53:40 -0500 |
Hi Daniel, <YourComment> While I see your point in terms of validation, I think that Jonathan's argument is sound. As a content provider, I can see little need for *client-side* validation, except in certain special cases. Validation against a DTD is a check for structural validity, and should be carried out by the author prior to serving the document. As Jonathan notes, what is the client supposed to do on receiving an invalid document? Popping up a Javascript alert box is not acceptable, nor is refusing to show the page. We must work on the assumption that the author validated the document. Also, validation by clients would simply take too long and be too large a performance hit. Validation is for author's to check their work, not for browsers to check their input. (These arguments do not apply to well-formedness.) </YourComment> <Reply> I cannot agree more. In fact, if we take a neutral perspective. Even Mozilla will take the same path. We learned from the last years on the net that browsers have to be able to minimize a) publication requirement (the least is the best) b) to resist to different "near perfect" documents. There is no real needs to do validation except to increase the end user frustration. However, probably this will needed in business to business transactions or e-commerce. In that case, the goal is not rendition but information exchange. Because the system that receives the information need valid data. There is a need for more structured exchange and therefore for validating parsing. So: a) for rendition in browsers validation is overkill and not really necessary. We have to reduce publication frictions b) for information exchange like business to business transactions (i.e. EDI) validation becomes necessary to prevent the "garbage in" problem to ERP systems. Thus, these two distinct XML usages requires different way to process (i.e. parse) the documents. Its simply a matter of choosing the right stuff for the right occasion :-) </Reply> Regards 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, Daniel Austin | Thread | Re: Why Doesn't IE5 use the DTD to, Marcus Carr |
RE: Why Doesn't IE5 use the DTD to, Daniel Austin | Date | Re: Why Doesn't IE5 use the DTD to, Marcus Carr |
Month |
Keywords