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 2006/12/12 23:50:46 UTC

[jira] Created: (DOXIA-79) Doxia generates different XHTML for the same xdoc code

Doxia generates different XHTML for the same xdoc code
------------------------------------------------------

                 Key: DOXIA-79
                 URL: http://jira.codehaus.org/browse/DOXIA-79
             Project: doxia
          Issue Type: Bug
          Components: Core
    Affects Versions: 1.0-alpha-8, 1.0
            Reporter: Henning Schmiedehausen


Consider the following xdoc code:

<section name="1"> 
  <subsection name="s1">
    <p>p1</p>
    <ul>
      <li>l1</li>
    </ul>
  </subsection>
  <subsection name="s2">
    <p>p2</p>
    <ul>
      <li>l1</li>
    </ul>
  </subsection>
</section>

This renders to the following XHTML code:

<a name="1"></a><div class="section"><h2>1</h2> 
  <a name="s1"></a><div class="section"><h3>s1</h3>
    <p>p1</p>
    <ul><li>l1</li></ul>
  </div>
  <a name="s2"></a><div class="section"><h3>s2</h3>
    p2
    <ul><li>l1</li></ul>
  </div>
</div>

Please not the missing <p> </p> around 'p2'. 

-- 
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-79) Doxia generates different XHTML for the same xdoc code

Posted by "Vincent Siveton (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/DOXIA-79?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vincent Siveton closed DOXIA-79.
--------------------------------

    Resolution: Fixed

Henning, why don't you trust me? :((

We have several test cases in site-renderer to demonstrate that this issue was solved

https://svn.apache.org/repos/asf/maven/doxia/trunk/doxia-site-renderer/src/test/java/org/apache/maven/doxia/siterenderer/DefaultSiteRendererTest.java

> Doxia generates different XHTML for the same xdoc code
> ------------------------------------------------------
>
>                 Key: DOXIA-79
>                 URL: http://jira.codehaus.org/browse/DOXIA-79
>             Project: doxia
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.0-alpha-8, 1.0
>            Reporter: Henning Schmiedehausen
>         Assigned To: Vincent Siveton
>             Fix For: 1.0
>
>
> Consider the following xdoc code:
> <section name="1"> 
>   <subsection name="s1">
>     <p>p1</p>
>     <ul>
>       <li>l1</li>
>     </ul>
>   </subsection>
>   <subsection name="s2">
>     <p>p2</p>
>     <ul>
>       <li>l1</li>
>     </ul>
>   </subsection>
> </section>
> This renders to the following XHTML code:
> <a name="1"></a><div class="section"><h2>1</h2> 
>   <a name="s1"></a><div class="section"><h3>s1</h3>
>     <p>p1</p>
>     <ul><li>l1</li></ul>
>   </div>
>   <a name="s2"></a><div class="section"><h3>s2</h3>
>     p2
>     <ul><li>l1</li></ul>
>   </div>
> </div>
> Please not the missing <p> </p> around 'p2'. 

-- 
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-79) Doxia generates different XHTML for the same xdoc code

Posted by "Vincent Siveton (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/DOXIA-79?page=all ]

Vincent Siveton closed DOXIA-79.
--------------------------------

         Assignee: Vincent Siveton
       Resolution: Fixed
    Fix Version/s: 1.0

Already fixed

> Doxia generates different XHTML for the same xdoc code
> ------------------------------------------------------
>
>                 Key: DOXIA-79
>                 URL: http://jira.codehaus.org/browse/DOXIA-79
>             Project: doxia
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.0-alpha-8, 1.0
>            Reporter: Henning Schmiedehausen
>         Assigned To: Vincent Siveton
>             Fix For: 1.0
>
>
> Consider the following xdoc code:
> <section name="1"> 
>   <subsection name="s1">
>     <p>p1</p>
>     <ul>
>       <li>l1</li>
>     </ul>
>   </subsection>
>   <subsection name="s2">
>     <p>p2</p>
>     <ul>
>       <li>l1</li>
>     </ul>
>   </subsection>
> </section>
> This renders to the following XHTML code:
> <a name="1"></a><div class="section"><h2>1</h2> 
>   <a name="s1"></a><div class="section"><h3>s1</h3>
>     <p>p1</p>
>     <ul><li>l1</li></ul>
>   </div>
>   <a name="s2"></a><div class="section"><h3>s2</h3>
>     p2
>     <ul><li>l1</li></ul>
>   </div>
> </div>
> Please not the missing <p> </p> around 'p2'. 

-- 
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-79) Doxia generates different XHTML for the same xdoc code

Posted by "Stefan Broetz (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/DOXIA-79?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_85970 ] 

Stefan Broetz commented on DOXIA-79:
------------------------------------

Henning, I was able to workaround this issue by modifying the xdoc list items in the following way:

<ul>
<li>
<p>Bla bla bla</p>
</li>
</ul>

Note the additional paragraph tag around each list item content. This may or may not work with HEAD, but it seems to work for Maven 2.0.4 and its dependencies (at least for me...)

> Doxia generates different XHTML for the same xdoc code
> ------------------------------------------------------
>
>                 Key: DOXIA-79
>                 URL: http://jira.codehaus.org/browse/DOXIA-79
>             Project: doxia
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.0-alpha-8, 1.0
>            Reporter: Henning Schmiedehausen
>         Assigned To: Vincent Siveton
>             Fix For: 1.0
>
>
> Consider the following xdoc code:
> <section name="1"> 
>   <subsection name="s1">
>     <p>p1</p>
>     <ul>
>       <li>l1</li>
>     </ul>
>   </subsection>
>   <subsection name="s2">
>     <p>p2</p>
>     <ul>
>       <li>l1</li>
>     </ul>
>   </subsection>
> </section>
> This renders to the following XHTML code:
> <a name="1"></a><div class="section"><h2>1</h2> 
>   <a name="s1"></a><div class="section"><h3>s1</h3>
>     <p>p1</p>
>     <ul><li>l1</li></ul>
>   </div>
>   <a name="s2"></a><div class="section"><h3>s2</h3>
>     p2
>     <ul><li>l1</li></ul>
>   </div>
> </div>
> Please not the missing <p> </p> around 'p2'. 

-- 
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] Reopened: (DOXIA-79) Doxia generates different XHTML for the same xdoc code

Posted by "Henning Schmiedehausen (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/DOXIA-79?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Henning Schmiedehausen reopened DOXIA-79:
-----------------------------------------


Nah. I don't believe you.

I just fetched the Doxia HEAD, built it and the issue is not only still there but for the fun of it I've also opened DOXIA-93, DOXIA-94, DOXIA-95 and DOXIA-96 just to show you that this thing still has not just "a few bugs".

> Doxia generates different XHTML for the same xdoc code
> ------------------------------------------------------
>
>                 Key: DOXIA-79
>                 URL: http://jira.codehaus.org/browse/DOXIA-79
>             Project: doxia
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.0-alpha-8, 1.0
>            Reporter: Henning Schmiedehausen
>         Assigned To: Vincent Siveton
>             Fix For: 1.0
>
>
> Consider the following xdoc code:
> <section name="1"> 
>   <subsection name="s1">
>     <p>p1</p>
>     <ul>
>       <li>l1</li>
>     </ul>
>   </subsection>
>   <subsection name="s2">
>     <p>p2</p>
>     <ul>
>       <li>l1</li>
>     </ul>
>   </subsection>
> </section>
> This renders to the following XHTML code:
> <a name="1"></a><div class="section"><h2>1</h2> 
>   <a name="s1"></a><div class="section"><h3>s1</h3>
>     <p>p1</p>
>     <ul><li>l1</li></ul>
>   </div>
>   <a name="s2"></a><div class="section"><h3>s2</h3>
>     p2
>     <ul><li>l1</li></ul>
>   </div>
> </div>
> Please not the missing <p> </p> around 'p2'. 

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