[
http://jira.codehaus.org/browse/DOXIA-93?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_86116
]
Henning Schmiedehausen commented on DOXIA-93:
---------------------------------------------
That is because, an empty POM *DOES* work. Which is scary. Really scary. The
following result was rendered using attached POM 1:
<a name="section_1"></a><div class="section"><h2>section 1</h2>
<p>text 1</p>
<ul>
<li>list1</li>
</ul>
<p>text 2</p>
<ul>
<li>list1</li>
</ul>
<p>text 3</p>
</div>
And this using the attached POM 2:
<a name="section 1"></a><div class="section"><h2>section 1</h2>
<p>text 1</p>
<ul>
<li>list1</li>
</ul>
text 2
<ul>
<li>list1</li>
</ul>
text 3
</div>
The difference is the configured extension. You can get that from
http://velocity.apache.org/site/tools/velocity-site-doxia-renderer/index.html
or just drop me a mail. (I will put it into the apache repository once we got
velocity 1.5 out of the door).
> xdoc renderer chokes on multiple block elements in a section
> ------------------------------------------------------------
>
> Key: DOXIA-93
> URL: http://jira.codehaus.org/browse/DOXIA-93
> Project: doxia
> Issue Type: Bug
> Components: Core
> Affects Versions: 1.0-alpha-8, 1.0
> Reporter: Henning Schmiedehausen
> Attachments: pom_1, pom_2
>
>
> Consider the following xdoc file:
> <?xml version="1.0" encoding="UTF-8"?>
> <document>
> <properties>
> <title>test1</title>
> </properties>
> <body>
> <section name="section name">
> <p>text</p>
> <ul>
> <li>list1</li>
> </ul>
> <p>text2</p>
> <ul>
> <li>list1</li>
> </ul>
> <p>text3</p>
> </section>
> </body>
> </document>
> The current doxia HEAD renders this to:
> <a name="section name"></a><div class="section"><h2>section name</h2>
> <p>text</p>
> <ul>
> <li>list1</li>
> </ul>
> text2
> <ul>
> <li>list1</li>
> </ul>
> text3
> </div>
> Note the missing '<p>' tags around text2 and text3.
--
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