forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ross Gardler (JIRA)" <j...@apache.org>
Subject [jira] Reopened: (FOR-680) The jspwiki parser renders nested lists invalid
Date Fri, 16 Jun 2006 14:18:32 GMT
     [ http://issues.apache.org/jira/browse/FOR-680?page=all ]
     
Ross Gardler reopened FOR-680:
------------------------------


Sjur discovered a problem with his patch so I'm reopening the issue.

He suggested rolling back the commit as previous behaviour was a little better under some
conditions. However, since he is working on a fix I am leaving the patch applied for now.
Will roll back if Sjur gets sidetracked by other commitments.

> The jspwiki parser renders nested lists invalid
> -----------------------------------------------
>
>          Key: FOR-680
>          URL: http://issues.apache.org/jira/browse/FOR-680
>      Project: Forrest
>         Type: Bug

>   Components: Plugin: input.wiki
>     Versions: 0.7
>  Environment: MacOS X 10.4.2, Java 1.4.2
>     Reporter: Sjur N. Moshagen
>  Attachments: wiki-update-diff.txt
>
> Lists within lists are parsed into an invalid structure. The following input:
> !!!Test title
> Test list:
> * li1
> * li2
> ** li2a
> ** li2b
> ** li2c
> * li3
> comes out as the following xml:
> <?xml version="1.0" encoding="ISO-8859-1"?>
> <!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.1//EN" "document-v11.dtd">
> <document>
> <header>
> <title>test</title>
> </header>
> <body>
> <section>
> <title>Test title</title>
> <p>Test list: </p>
>   <ul>
>     <li>li1 </li>
>     <li>li2 </li>
>       <ul>
>         <li>li2a </li>
>         <li>li2b </li>
>         <li>li2c </li>
>       </ul>
>     <li>li3 </li>
>   </ul>
> </section>
> </body>
> </document>
> Note that the inner <ul> is not within the preceding <li> as required by
the dtd, but inserted between to <li>s.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message