cocoon-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stev...@outerthought.org
Subject [WIKI-UPDATE] ChaperonTestPage Tue May 25 11:00:03 2004
Date Tue, 25 May 2004 09:00:03 GMT
Page: http://wiki.cocoondev.org/Wiki.jsp?page=ChaperonTestPage , version: 9 on Mon May 25 08:01:44
2004 by DavidCrossley

- This page should have the same wiki content as the chaperon parser test page from the Cocoon
source code (src/blocks/chaperon/samples/wikitest/selftest.txt).
+ This wiki document is a self-describing test of the Cocoon Chaperon wiki grammar. Reading
what follows
+ should tell you if the tests are successful.
- It is meant to compare the wiki syntax handling between JSPWiki and the Chaperon Wiki grammar
used in Cocoon.
+ The document in the Cocoon Samples is at: src/blocks/chaperon/samples/wikitest/selftest.txt
+ 
+ The document in the Cocoon Wiki is at: http-link-to-wiki.cocoondev.org/Wiki.jsp?page=ChaperonTestPage
+ 
+ Both documents should be synchronised, so as to be able to compare the output of both, as
the Chaperon wiki grammar is meant to emulate the JSPWiki syntax used
+ by the Cocoon wiki.
+ 
+ In the Cocoon Samples, the "content", "parser-output" and "xdoc" views can be used to check
the various stages of parsing and conversion.
+ ----
+ 
+ -- 0. CURRENT RESULTS --
+ 
+ This must be followed by a section title and a bullet list with some items.
+ 
+ !!! KNOWN PROBLEMS
+ Currently this test shows the following problems:
+ 
+ * 0.1 This bullet list is invisible in the html output if there is no section title (3 bangs)
before it
+ * 1.1 Headings must be used in the usual order (big contains medium contains small), otherwise
unpredictable results can occur due to the conversion from the linear wiki model to the nested
xdocs model.
+ * 5.1 relative link points to wiki.cocoondev.org (but is it by design?)
+ * 8.3 Spaces must surround in tables
+ * Can't end a line with \ or two \s
+ * Can't have empty table cells (pipe is parsed the same as two pipes)
+ * Can't have a list item with no text
+ * Can't have a line consisting of a single space
+ * ;term:ex not supported
+ 
+ 
- - 1.HEADINGS --
+ -- 1. HEADINGS --
? +    +

- Test 1.2 same headings with text in-between
?                                    ^

+ Test 1.2 same headings with text in between
?                                    ^

- -- 2.NUMBERED LISTS --
+ -- 2. NUMBERED LISTS --
?      +

+ Test 2.2 This should have indentation depths of 1, 2, 3, 2, 1
+ # one
+ ## two
+ ### three
+ ## two
+ # one
+ 
- -- 3.BULLET LISTS --
+ -- 3. BULLET LISTS --
?      +

- 
+ Test 3.3 This should be followed by 4 bullet points with no text in between them:
+ * Bullet 3.3.1, adding some ''italic'' should not break the bullet point in two
+ * Bullet 3.3.2, adding some __bold__ should not break the bullet point in two
+ * Bullet 3.3.3, adding some {{monospaced}} should not break the bullet point in two
+ * Bullet 3.3.4, adding some ''italic'', __bold__, and {{monospaced}} should not break the
bullet point in two
+ 
+ Test 3.4 This should have indentation depths of 1, 2, 3, 2, 1
+ * one
+ ** two
+ *** three
+ ** two
+ * one
+ 
- -- 4.TEXT ATTRIBUTES --
+ -- 4. TEXT ATTRIBUTES --
?      +

- Test 4.2 In test 4.1 all words of the phrase should be followed by a space. 
?                                                                            -

+ Test 4.2 In test 4.1 all words of the phrase should be followed by a space.
- 	boolean didThisWork() {
? ^

+   boolean didThisWork() {
? ^^

- 	  return !failed();
? ^

+     return !failed();
? ^^

- 	}
+   }
- -- 5.LINKS --
+ -- 5. LINKS --
?      +

- Test 5.1 Here a link to this same page: [ChaperonTestPage]
+ Test 5.1 Here is a link to this same page: [ChaperonTestPage]
?              +++

- Test 5.3 A link to another wiki site [Text formatting rules|ChaperonTestPage].
?                                 ^^^             -

+ Test 5.3 A link to another wiki page [Text formating rules|ChaperonTestPage].
?                                 ^^^

- -- 6.MISCELLANEOUS --
+ -- 6. MISCELLANEOUS --
?      +

- Test 6.1 This paragraph should be followed by a horizontal ruler line.
?                                                                -

+ Test 6.1 This paragraph should be followed by a horizontal rule line.
- Test 6.2 There should be a line break between the words one and two that follow: 
?                                                                                 -

+ Test 6.2 There should be a line break between the words one and two that follow:
+ 
+ -- 8. TABLES --
+ 
+ Test 8.1 Table with header
+ 
+ || Header 1 || Header 2
+ | data | more data
+ | foo | bar
+ | abc | 123
+ 
+ Test 8.2 Table without header
+ 
+ | asdf | asdf | asdf
+ | fdsa | qwer | 789
+ | yuiop | zxcv | 00001
+ 
+ Test 8.3 Table without spaces around pipe delimiters
+ 
+ |asdf|asdf|asdf
+ |fdsa|qwer|789
+ |yuiop|zxcv|00001
+ 
+ 



Mime
View raw message