You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Henning Schmiedehausen (JIRA)" <ji...@codehaus.org> on 2007/01/27 12:04:43 UTC

[jira] Updated: (DOXIA-96) Doxia xdoc chokes on macros and pushes to the output

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

Henning Schmiedehausen updated DOXIA-96:
----------------------------------------

    Attachment: macro.patch

This is the fairly trivial (and obvious) patch. Please apply before releasing the next version of the doxia-core.

> Doxia xdoc chokes on macros and pushes </macro> to the output
> -------------------------------------------------------------
>
>                 Key: DOXIA-96
>                 URL: http://jira.codehaus.org/browse/DOXIA-96
>             Project: doxia
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.0-alpha-8, 1.0
>            Reporter: Henning Schmiedehausen
>         Attachments: macro.patch
>
>
> Consider the following xdoc file:
> <?xml version="1.0" encoding="UTF-8"?>
> <document>
>   <properties>
>     <title>test1</title>
>   </properties>
>   <body>
>     <section name="section name">
>       <macro id="news" count="3" />
>     </section>
>   </body>
> </document>
> The 'news' macro is the Doxia macro described on http://velocity.apache.org/site/tools/velocity-site-news-extension/index.html
> This results in the following content:
> <a name="section name"></a><div class="section"><h2>section name</h2>
>       [... Macro output omitted ...]</macro>
>     </div>
> Please note the additional </macro> that somehow got into the output. This is obviously no valid XHTML.

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