(anonymous guest) (logged out)

Copyright (C) by the contributors. Some rights reserved, license BY-SA.

Sponsored by the Wiki Symposium and the Nuveon GmbH.

 

Add new attachment

Only authorized users are allowed to upload new attachments.

This page (revision-13) was last changed on 14-Sep-2006 19:09 by Jared Williams  

This page was created on 06-Sep-2006 14:07 by 85.221.141.46

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Difference between version and

At line 3 added 37 lines
Do we need that? I think it should be up to the engine implementer what to use, we just give recomendations. You could also write a Latex converter for this. Do we need output examples for this as well? Wheres the end to this? Creole describes a Model of a Document, i don't think it should be tied to closely to any representation. It's a novell, you make the movie out of it. We don't tell you the script for the movie. Just make it so that People like it.
I don't judge your implementation on wether your XHTML is exactly. I just will tell you if i like what i see. Just as i don't judge a movie on how closely it is to the book. I think creole should give implementers creative freedom to interpret it.
--[Christoph] 06-Aug-2006
Why do the test cases feature nested lists?
-- AlexSchroeder
No specific reason, i just don't do that usually, thats why i personally have no clue how it should be rendered, or what would be logical. As soon as something comes into my mind I add it :) In the meantime please feel free to add stuff you would like to have tested and working by yourself, but don't make it too big.
We could have a common "Things people usually do" testcase and a "Horrible things that people might do" testcase if you like.
-- Christoph 06-Sep-2006
Well, I have my own test cases; you can find a snapshot on [Talk.Oddmuse]. The suggested XHTML output on the ordinary pages is good enough.
-- AlexSchroeder
Yes, those testcases are more like for people like me, wandering around in wikiland, visiting the sandboxes and see if stuff works i need. Blackbox dummytests that i will improve incrementally as i learn more what does not work.
-- ChristophSauer 07-Sep-2006
I'm implementing a Creole parser in PHP5, and have one problem (I think) with this test case. And thats with the preformatted block at the end. The blank line before the { { { is treated as a paragraph, the newline is "used" by the paragraph, so the following { { { is treated as a <tt>. I'm wondering what the correct output should be ?
-- JaredWilliams 14-Sep-2006
Not sure if this will help, but I use this regexp for preformatted block (remove the spaces from } } }):
{{{
^{{{\s*$((.|\n)+?)(\n)?^} } }\s*$
}}}
-- [RadomirDopieralski], 2006-09-14
Unfortunately it doesn't use regexps. But I think i've fixed it, albeit in a round about way.
-- JaredWilliams 14-Sep-2006
Version Date Modified Size Author Changes ... Change note
13 14-Sep-2006 19:09 2.489 kB Jared Williams to previous
12 14-Sep-2006 18:27 2.359 kB RadomirDopieralski to previous | to last my regexp
11 14-Sep-2006 18:26 2.322 kB RadomirDopieralski to previous | to last my regexp for pre
10 14-Sep-2006 16:53 2.169 kB Jared Williams to previous | to last
9 07-Sep-2006 04:03 1.79 kB Alex Schröder to previous | to last link to Talk.Oddmuse
8 07-Sep-2006 00:20 2.02 kB Christoph Sauer to previous | to last respond to alex
7 07-Sep-2006 00:00 1.649 kB Alex Schröder to previous | to last not too interested in unit tests, suggested XHTML output is
6 06-Sep-2006 23:09 1.361 kB Christoph Sauer to previous | to last respond to alex why i didn't include mixed lists
5 06-Sep-2006 17:54 0.881 kB Christoph Sauer to previous | to last
4 06-Sep-2006 17:53 0.885 kB Christoph Sauer to previous | to last
3 06-Sep-2006 17:53 0.886 kB Christoph Sauer to previous | to last we shoud not have to strict xhtml rules
2 06-Sep-2006 15:55 0.139 kB Alex Schröder to previous | to last Why do the test cases feature nested lists?
1 06-Sep-2006 14:07 0.074 kB 85.221.141.46 to last
« This page (revision-13) was last changed on 14-Sep-2006 19:09 by Jared Williams