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/24 23:15:26 UTC
[jira] Created: (DOXIA-95) Doxia omits closing elements
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
[jira] Commented: (DOXIA-95) Doxia omits closing elements
Posted by "Henning Schmiedehausen (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/DOXIA-95?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_92266 ]
Henning Schmiedehausen commented on DOXIA-95:
---------------------------------------------
Probably yes.
> Doxia omits </p> closing elements
> ---------------------------------
>
> Key: DOXIA-95
> URL: http://jira.codehaus.org/browse/DOXIA-95
> Project: doxia
> Issue Type: Bug
> Reporter: Henning Schmiedehausen
> Fix For: 1.0-alpha-9
>
>
> 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
[jira] Commented: (DOXIA-95) Doxia omits closing elements
Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/DOXIA-95?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_86021 ]
Dennis Lundberg commented on DOXIA-95:
--------------------------------------
The supplied xdoc example is not valid either.
You should not have a list within a paragraph.
Try this code instead:
{code}
<?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>
</section>
</body>
</document>
{code}
> 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
[jira] Commented: (DOXIA-95) Doxia omits closing elements
Posted by "Vincent Siveton (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/DOXIA-95?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_86143 ]
Vincent Siveton commented on DOXIA-95:
--------------------------------------
It is the normal way for parsing xdoc
> 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
[jira] Closed: (DOXIA-95) Doxia omits closing elements
Posted by "Carlos Sanchez (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/DOXIA-95?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carlos Sanchez closed DOXIA-95.
-------------------------------
Assignee: Carlos Sanchez
Resolution: Won't Fix
Fix Version/s: (was: 1.0-alpha-9)
> Doxia omits </p> closing elements
> ---------------------------------
>
> Key: DOXIA-95
> URL: http://jira.codehaus.org/browse/DOXIA-95
> Project: doxia
> Issue Type: Bug
> Reporter: Henning Schmiedehausen
> Assignee: Carlos Sanchez
>
> 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
[jira] Updated: (DOXIA-95) Doxia omits closing elements
Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/DOXIA-95?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brett Porter updated DOXIA-95:
------------------------------
Fix Version/s: 1.0-alpha-9
> Doxia omits </p> closing elements
> ---------------------------------
>
> Key: DOXIA-95
> URL: http://jira.codehaus.org/browse/DOXIA-95
> Project: doxia
> Issue Type: Bug
> Reporter: Henning Schmiedehausen
> Fix For: 1.0-alpha-9
>
>
> 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
[jira] Commented: (DOXIA-95) Doxia omits closing elements
Posted by "Henning Schmiedehausen (JIRA)" <ji...@codehaus.org>.
[ 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
[jira] Commented: (DOXIA-95) Doxia omits closing elements
Posted by "Jason van Zyl (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/DOXIA-95?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_90383 ]
Jason van Zyl commented on DOXIA-95:
------------------------------------
So can we close this?
> 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