Site generation fails on <!DOCTYPE> in xdoc documentation
---------------------------------------------------------

                 Key: MSITE-464
                 URL: http://jira.codehaus.org/browse/MSITE-464
             Project: Maven 2.x Site Plugin
          Issue Type: Bug
    Affects Versions: 2.1
         Environment: Windows XP, Maven 2.2.1, JDK 1.6.0_17
            Reporter: Niall Pemberton
         Attachments: test_doctype.xml

Apache Commons has a couple of components with documentation showing examples 
of XML documents including the <!DOCTYPE> element - these are enclosed in CDATA 
elements and docs generated with no problems using version 2.0.1 of the 
maven-site-plugin - but fail with version 2.1.

Running "mvn site"  fails with the following error:

{code}
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error during page generation

Embedded error: Error parsing 
'C:\svn\commons-proper\chain\xdocs\test_doctype.xml': line [-1] Error 
validating the model: Error:
  Public ID: null
  System ID: null
  Line number: 3
  Column number: 11
  Message: cvc-elt.1: Cannot find the declaration of element 'document'.
{code}

I'm attaching an example xdoc document which causes this issue

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