RE: [xsl] What effect does DOCTYPE have

Subject: RE: [xsl] What effect does DOCTYPE have
From: "Haarman, Michael" <mhaarman@xxxxxxxxx>
Date: Tue, 31 Jan 2006 09:57:30 -0600
> -----Original Message-----
> From: Michael Kay 
> > Does the XSLT processor try to read the DTD? 
> No, but the XML parser does.
> > Is there anyway to avoid this? 
> Only by removing the DOCTYPE declaration, or redirecting the 
> reference to a
> dummy DTD.

This strikes me as a way to build a simple switch to enable or disable
validation on, for example, request parameters.  Do parsers display reliable
or defined behavior when confronted with a dummy DTD?  What about a dummy
XSD schema?

Any links or references to what a sufficient, minimal DTD or schema looks

Mike Haarman,
XSL Developer,
Internet Broadcasting Systems, Inc.

Current Thread