[
http://jira.codehaus.org/browse/DOXIA-95?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_86123
]
Henning Schmiedehausen commented on DOXIA-95:
---------------------------------------------
After adding the XDOC DTD, the error shows up. So this should probably be "XDOC
Renderer should reject invalid XDOC files".
However, this is valid according to the DTD:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE document PUBLIC "-//Apache Software Foundation//DTD XDOC 1.0//EN"
"http://maven.apache.org/dtd/xdoc_1_0.dtd">
<document>
<properties>
<title>Doxia 95</title>
</properties>
<body>
<section name="section name">
text
<ul>
<li>list1</li>
</ul>
text2
<ul>
<li>list1</li>
</ul>
</section>
</body>
</document>
and renders out without any <p> tags. Is this intentional or a shortcoming of
the DTD?
> Doxia omits </p> closing elements
> ---------------------------------
>
> Key: DOXIA-95
> URL: http://jira.codehaus.org/browse/DOXIA-95
> Project: doxia
> Issue Type: Bug
> 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">
> <p>text
> <ul>
> <li>list1</li>
> </ul>
> text2
> <ul>
> <li>list1</li>
> </ul>
> </p>
> </section>
> </body>
> </document>
> This renders to the following HTML output:
> <a name="section name"></a><div class="section"><h2>section name</h2>
> <p>text
> <ul>
> <li>list1</li>
> </ul>
> text2
> <ul>
> <li>list1</li>
> </ul>
> </div>
> Please note that there is no closing </p> between </ul> and </div>
> 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