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

Jochen Wiedmann commented on MOJO-1413:
---------------------------------------

Checkout the trunk of the xml-maven-plugin from 
http://svn.codehaus.org/mojo/trunk/mojo/xml-maven-plugin and use that version. 
In conjunction with -X it should display the resolvers activities: The most 
likely reason is that you need more files in your catalog.


> 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
>         Attachments: catalog.xml, xml-validate.log, xmlvalidation.zip
>
>
> 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