maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benjamin Bentmann (JIRA)" <j...@codehaus.org>
Subject [jira] Commented: (DOXIA-263) Improve validation of input documents
Date Sun, 02 Nov 2008 18:42:51 GMT

    [ http://jira.codehaus.org/browse/DOXIA-263?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=152703#action_152703
] 

Benjamin Bentmann commented on DOXIA-263:
-----------------------------------------

Also, having a validating XML parser with the proper XSD would allow to detect ignorable whitespace,
making the programmatic flag suggested in DOXIA-226 superfluos.

> Improve validation of input documents
> -------------------------------------
>
>                 Key: DOXIA-263
>                 URL: http://jira.codehaus.org/browse/DOXIA-263
>             Project: Maven Doxia
>          Issue Type: New Feature
>          Components: Module - Fml, Module - Xdoc, Module - Xhtml
>    Affects Versions: 1.0-alpha-11
>            Reporter: Benjamin Bentmann
>
> For example, the snippet
> {code:xml}
> <tr> foo <td/> bar </tr>
> {code}
> successfully parses with the {{XDocParser}}, despite the {{<tr>}} element having
element-only content, i.e. "foo" and "bar" are invalid tokens.
> An unfinished idea is to combine a validating XML parser with the XSDs that have recently
been created to actually check the input documents against the XSDs.

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

        

Mime
View raw message