maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vincent Siveton (JIRA)" <j...@codehaus.org>
Subject [jira] Updated: (DOXIA-263) Improve validation of input documents
Date Tue, 04 Nov 2008 23:19:51 GMT

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

Vincent Siveton updated DOXIA-263:
----------------------------------

    Fix Version/s: 1.0-beta-1

IMHO we could implement this feature with XppParserOnStaxReader from [1] (ASL license). We
need to specify the correct XSD/DTD.

[1] http://woodstox.codehaus.org/staxmisc/

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

        

Mime
View raw message