[
http://jira.codehaus.org/browse/MOJO-1120?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=134921#action_134921
]
Michael Brackx commented on MOJO-1120:
--------------------------------------
For validation I agree with you: caching would be better.
However this is about checking well formedness only
(http://mojo.codehaus.org/xml-maven-plugin/faq.html#well-formedness).
With the validating set to false. No validation is required, and IMHO the DTD's
are not needed.
sample configuration:
<configuration>
<validationSets>
<validationSet>
<validating>false</validating>
<dir>src/main/webapp</dir>
<includes>
<include>**/*.xhtml</include>
</includes>
</validationSet>
</validationSets>
</configuration>
> check files for well formedness is very slow
> --------------------------------------------
>
> Key: MOJO-1120
> URL: http://jira.codehaus.org/browse/MOJO-1120
> Project: Mojo
> Issue Type: Bug
> Components: xml
> Reporter: Michael Brackx
> Assignee: Jochen Wiedmann
> Attachments: ValidateMojo.java, ValidateMojo.java
>
>
> All external dtd's are downloaded when checking for well formedness. This is
> very slow.
> A solution could be setting the feature
> "http://apache.org/xml/features/nonvalidating/load-external-dtd" to false if
> no validation is done (attached).
> Or perhaps cache the downloaded dtd's.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email