OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   RE: [xml-dev] XML Parsing

[ Lists Home | Date Index | Thread Index ]

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

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

    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".

  • References:
    • XML Parsing
      • From: "Rupa Kulkarni" <rupali@assetlink.com>


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS