It
very rarely makes sense to do XML validation on an XSLT stylesheet. It's hard to
define a DTD because the vocabulary is variable, and the XSLT processor will do
far more thorough validation than the XML parser can do.
It
doesn't make much sense to do XML validation on the source document either,
except for the first time you receive it from an untrusted source. If it
validated once, it will validate every time.
Michael Kay Software AG home:
Michael.H.Kay@ntlworld.com work: Michael.Kay@softwareag.com
Hi
Does anybody know the
drawbacks of setting
ValidateOnParse = "False" ?.
Actually, I have a DTD declration in XSL and before loading the XSL i am
setting the value of ValidateOnParse to
"False".
Thanks
Rupa
|