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

Yegor Bugayenko commented on MOJO-1676:
---------------------------------------

Yes, this is for xml-maven-plugin.

xml:validate validates the document for correctness and against XSD. In my case 
I need to validate that the document is properly formatted. See more 
explanation and discussion here: http://stackoverflow.com/questions/6091873

Some XML files (mostly configuration documents) are created by programmers. And 
Maven should be able to validate how "nice" they are looking. The same as 
Checkstyle validates Java code. I believe that such a validator doesn't exist 
yet, and it's necessary to create it from scratch. May take time. But it would 
be a very useful instrument.

> "check-format" goal would be nice to have
> -----------------------------------------
>
>                 Key: MOJO-1676
>                 URL: http://jira.codehaus.org/browse/MOJO-1676
>             Project: Mojo
>          Issue Type: Improvement
>            Reporter: Yegor Bugayenko
>
> Would be nice to have a {{"check-format"}} goal, that will check XML files 
> formatting. The same way as {{"checkstyle"}} plugin validates {{.java}} files 
> formatting.

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