[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Why Doesn't IE5 use the DTD to Validate?

Subject: RE: Why Doesn't IE5 use the DTD to Validate?
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Thu, 1 Apr 1999 12:43:05 +0100
RE: Why Doesn't  IE5 use the DTD to Validate?
Title: RE: Why Doesn't IE5 use the DTD to Validate?

> > 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.
>
> Yes, it should be. But hey, if it works in the browser without, why
> bother?
>
A very interesting dilemma!

One nice answer would be that a document, once validated, is marked with some kind of seal that tells the browser it doesn't have to be validated again. Of course, the seal must not be easily forgeable, it should be based on a checksum so it is invalidated when the document changes. The seal could be contained in a processing instruction.

Another pragmatic solution: the browser should select a random sample of 5% of all XML documents for validation, and put up a prompt saying "please tell the author of this document that it is invalid", before reparsing it without validation.

Are the XML conformance rules flexible enough to allow such solutions?

Mike Kay

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.