You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Vincent Siveton (JIRA)" <ji...@codehaus.org> on 2008/11/07 16:17:13 UTC

[jira] Closed: (DOXIA-263) Improve validation of input documents

     [ http://jira.codehaus.org/browse/DOXIA-263?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vincent Siveton closed DOXIA-263.
---------------------------------

      Assignee: Vincent Siveton
    Resolution: Fixed

fixed in [r712147|http://svn.apache.org/viewvc?rev=712147&view=rev]
I implemented the validation with xerces and the performances are not so bad :)

> 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
>            Assignee: Vincent Siveton
>             Fix For: 1.0-beta-1
>
>
> 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