[ 
https://jira.codehaus.org/browse/DOXIATOOLS-20?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dennis Lundberg moved DOXIA-368 to DOXIATOOLS-20:
-------------------------------------------------

          Component/s:     (was: Module - Xdoc)
                           (was: Book)
                       Book
    Affects Version/s:     (was: 1.1.1)
                  Key: DOXIATOOLS-20  (was: DOXIA-368)
              Project: Maven Doxia Tools  (was: Maven Doxia)
    
> APT anchors are parsed to invalid XML in xdoc book
> --------------------------------------------------
>
>                 Key: DOXIATOOLS-20
>                 URL: https://jira.codehaus.org/browse/DOXIATOOLS-20
>             Project: Maven Doxia Tools
>          Issue Type: Bug
>          Components: Book
>            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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to