xsl-list
[Top] [All Lists]

RE: What effect does DOCTYPE have

2006-01-31 08:57:30
-----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
like?


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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>