You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Data Nucleus (JIRA)" <ji...@codehaus.org> on 2011/05/17 10:39:22 UTC
[jira] Commented: (MSITE-464) Site generation fails on
in xdoc documentation
[ http://jira.codehaus.org/browse/MSITE-464?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=267222#action_267222 ]
Data Nucleus commented on MSITE-464:
------------------------------------
Same thing seems to happen with the PDF plugin. Has it been fixed in that? (i've used PDF v1.1, SITE v2.1.1)
XDOC has
<document>
...
</document>
with no XSD, and PDF plugin gives
[INFO] Error during document generation: Error parsing /home/andy/work/dn_maven2_site/target/pdf/site.tmp/xdoc/guides/jdo/springframework/index.xml: Error validating the model: Error:
Public ID: null
System ID: null
Line number: 2
Column number: 11
Message: cvc-elt.1: Cannot find the declaration of element 'document'.
> Site generation fails on <!DOCTYPE> in xdoc documentation
> ---------------------------------------------------------
>
> Key: MSITE-464
> URL: http://jira.codehaus.org/browse/MSITE-464
> Project: Maven 2.x and 3.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
> Assignee: Lukas Theussl
> Fix For: 2.1.1
>
> 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