Just wondering, would anyone be around in an hour or so for an IRC / Gobby session to talk through some of this with me, I just want to make sure I'm on the right track. Hopefully should on take a few minutes.
Gav... ----- Original Message ----- From: "Gavin (JIRA)" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Saturday, October 08, 2005 8:48 PM Subject: [jira] Commented: (FOR-680) The jspwiki parser renders nested lists invalid | [ http://issues.apache.org/jira/browse/FOR-680?page=comments#action_12331647 ] | | Gavin commented on FOR-680: | --------------------------- | | Ok, I see the problem I think , | | In %forrest_home\plugins\org.apache.forrest.plugin.input.wiki\resources\chaperon\stylesheets\wiki2xdoc.xsl | | Bulleted Lists whether at Level 1, 2 or 3 are all put into <ul></ul> | | All Bulleted List items are put into <li><li> whether at level 1,2 or 3. | | Example :- | | <xsl:template match="st:bulletedlist1" mode="paragraph"> | <ul> | <xsl:apply-templates select="st:bulletedlistitem1|st:bulletedlist2"/> | </ul> | </xsl:template> | | <xsl:template match="st:bulletedlistitem1" > | <li> | <xsl:apply-templates select="st:textsequence/st:textblock/*"/> | </li> | </xsl:template> | | <xsl:template match="st:bulletedlist2" > | <ul> | <xsl:apply-templates select="st:bulletedlistitem2|st:bulletedlist3"/> | </ul> | </xsl:template> | | I will have a go at correcting this. | | > 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: Wiki | > Versions: 0.7 | > Environment: MacOS X 10.4.2, Java 1.4.2 | > Reporter: Sjur N. Moshagen | | > | > 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 | | | | -- | No virus found in this incoming message. | Checked by AVG Anti-Virus. | Version: 7.0.344 / Virus Database: 267.11.13/124 - Release Date: 7/10/2005 | -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.11.14/129 - Release Date: 11/10/2005
