[ http://jira.codehaus.org/browse/MOJO-1120?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=134853#action_134853 ]
Jochen Wiedmann commented on MOJO-1120: --------------------------------------- First of all, IMO its a feature if external DTD's are downloaded, because they are likely required for the validation. I understand that it may be an issue if this download occurs more than once. In other words, I would accept the idea of caching. I do not know, whether it is possible to specify arbitrary features currently, but I would definitely accept a change for that. In other words, you could set that feature in your POM. Finally, please don't publish complete source files, but patches, so that I can easily see what you have changed. This makes it easier to discuss details. > 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