[
https://issues.apache.org/jira/browse/DOXIATOOLS-20?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Osipov closed DOXIATOOLS-20.
------------------------------------
Resolution: Auto Closed
This issue has been auto closed because it has been inactive for a long period
of time. If you think this issue still applies, retest your problem with the
most recent version of Maven and the affected component, reopen and post your
results.
> APT anchors are parsed to invalid XML in xdoc book
> --------------------------------------------------
>
> Key: DOXIATOOLS-20
> URL: https://issues.apache.org/jira/browse/DOXIATOOLS-20
> Project: Maven Doxia Tools
> Issue Type: Bug
> Components: Doxia Book Renderer
> Reporter: Dave Syer
>
> APT anchors are parsed to invalid XML in xdoc book. E.g. start with APT like
> this
> {code}
> {Section Title}
> La la la la
> {code}
> and then include this document in a book with "xdoc" format. You get an
> invalid XML document which then fails when it is being turned into HTML for
> the site:
> {noformat}
> [ERROR] Error parsing
> /home/dsyer/dev/admin/code/target/generated-site/xdoc/reference/jobs.xml:
> line [-1] Error parsing the model: markup not allowed inside attribute value
> - illegal < (position: END_TAG seen ...<section name="<... @1:676)
> org.apache.maven.doxia.parser.ParseException: Error parsing the model: markup
> not allowed inside attribute value - illegal < (position: END_TAG seen
> ...<section name="Add your Own <... @1:676)
> at
> org.apache.maven.doxia.parser.AbstractXmlParser.parse(AbstractXmlParser.java:57)
> at
> org.apache.maven.doxia.module.xdoc.XdocParser.parse(XdocParser.java:99)
> at org.apache.maven.doxia.DefaultDoxia.parse(DefaultDoxia.java:59)
> at
> org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.renderDocument(DefaultSiteRenderer.java:342)
> {noformat}
> The xml is invlaid because it has {{<section name="<a
> name="Section_Title"/>".../>}}.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)