You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Dennis Lundberg (JIRA)" <ji...@codehaus.org> on 2010/03/09 21:39:55 UTC

[jira] Updated: (MSITE-464) Site generation fails on in xdoc documentation

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

Dennis Lundberg updated MSITE-464:
----------------------------------

    Attachment: MSITE-464.zip

Here's a sample project that works.

> 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: MSITE-464.zip, 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