[Home] [By Thread] [By Date] [Recent Entries]


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@n...
work: Michael.Kay@s...

-----Original Message-----
From: Rupa Kulkarni [mailto:rupali@a...]
Sent: 24 April 2002 07:47
To: xml-dev@l...
Subject: XML Parsing

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

  • References:
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member