Including a DTD reference in a <source> element results in a SAXParseException
------------------------------------------------------------------------------

                 Key: DOXIA-384
                 URL: http://jira.codehaus.org/browse/DOXIA-384
             Project: Maven Doxia
          Issue Type: Bug
          Components: Core
    Affects Versions: 1.1.2
            Reporter: Niall Pemberton
         Attachments: Doxia-source-dtd-test.patch

Including a DTD in a <source> element should be ignored. But the 
PATTERN_DOCTYPE regular expresion used in the validate() method in 
AbstractXmlParser finds this and results in the XML being validated and causes 
a SAXParseException.

This is causing MSITE-464 reported against the maven-site-plugin.

We're also seeing a similar problem with the maven-pmd-plugin which may be 
related.

Attaching a test case which demonstrates this.

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

        

Reply via email to