#41 Make XML Validation optional in style task

Release
open
nobody
Tasks (29)
5
2007-02-12
2007-02-12
Scott Ainsworth
No

The style task in v0.85 validates the input and stylesheet XML; previous version (in particular 0.85rc3) did not. This creates a problem because many of the XML files I transform declare namespaces for which I do not have schemas.

This patch against v0.85 adds a validate attribute to the style task. When validate="false" the XML is not validated. The default is "true" so that existing NAnt 0.85 scripts retain their current behavior.

Discussion

  • Patched Style Task source code

     
    Attachments