[ 
http://jira.codehaus.org/browse/MOJO-1413?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=252771#action_252771
 ] 

Robert Munteanu commented on MOJO-1413:
---------------------------------------

Jochen, I _did_ read that article and I _did_ try to follow its steps. But 
there's a missing link between that and how things are interpreted by the 
plugin. What are the catalog paths relative to? What are the file locations 
from the catalog file relative to?

I've been chasing this for a couple of hours with no result. I will attach a 
debug log from my failing build, perhaps you can point out the error, it's not 
clear to me at all.

> xml:validation needs local copy of w3c for validation. (validation fails)
> -------------------------------------------------------------------------
>
>                 Key: MOJO-1413
>                 URL: http://jira.codehaus.org/browse/MOJO-1413
>             Project: Mojo
>          Issue Type: Bug
>          Components: xml
>         Environment:                       <plugin>
>                 <groupId>org.codehaus.mojo</groupId>
>                 <artifactId>xml-maven-plugin</artifactId>
>                 <version>1.0-beta-3-SNAPSHOT</version>
>                 <executions>
>                     <execution>
>                         <goals>
>                             <goal>validate</goal>
>                         </goals>
>                     </execution>
>                 </executions>
>                 <configuration>
>                     <validationSets>
>                         <validationSet>
>                             <dir>src/main/java/com/amplafi/web</dir>
>                             <includes>
>                                 <include>**/*.html</include>
>                             </includes>
>                             <excludes>
>                                 <exclude>**/package.html</exclude>
>                             </excludes>
>                         </validationSet>
>                     </validationSets>
>                 </configuration>
>             </plugin> 
>            Reporter: Patrick Moore
>            Assignee: Jochen Wiedmann
>            Priority: Critical
>
> xml-maven-plugin cannot validate html files because 
> http://www.w3.org/blog/systeam/2008/02/08/w3c_s_excessive_dtd_traffic .
> xml-maven-plugin must have a local copy of the w3c definitions for html, and 
> xhtml in order to be useful for validating xml files.
> Other global dtds like the various RSS dtds need to have a local copy that is 
> shipped with the plugin.
> (copied from : MOJO-1381 -- couldn't figure out a way to update the component 
> on that bug ) 

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


Reply via email to