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