(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-10) was last changed on 27-Feb-2007 17:06 by SebastianSchmidt  

This page was created on 23-Feb-2007 09:29 by RadomirDopieralski

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Difference between version and

At line 18 added 21 lines
-- ChrisPurcell, 2007-02-23
That'd require infinite (unbound) lookup to parse.
-- RadomirDopieralski, 2007-02-23
If that's a requirement on Creole parsers, it should be specified somewhere. After all, regular expressions are quite happy to look until the end of the file to see if a tag is closed; "unbound" lookup is only a problem for certain parser classes. If it's up to the implementer, it should not be in an ambiguity test as a pass/fail requirement.
-- ChrisPurcell, 2007-02-26
I'm not as much concerned with the parsers themselves -- after all, even if they can't parse the way that state machines do, they usually have a buffer much larger than the page's text available anyways. What I'm concerned with are the parsing abilities of the users -- who need to understand the text every time they want to change something in it.
Having the rendering of something at a beginning of the paragraph depend on appearance of something at the end of it is not exactly humane. If you react to the opening tag right away, then you signal that it's special and needs escaping -- and you do it right when it is introduced, when the user knows what to look for. On the other hand, if you just ignore it because there is no closing tag, and chnage the whole thing when the end tag is introduced (possibly many days and many edits later), then the users has to scan the whole text to see what is going on.
I believe it's just the principle of least surprise. But, **there is no wrong way to implement Creole**, so I agree that the pass/fail test is a little too much. I guess it's ok either way.
-- RadomirDopieralski, 2007-02-26
I made a new test (on behalf of Christoph) and moved the old one to a seperate page. I also restored the old results (some changed it, to express the compliance, they reached). We dated the results, so it's not intended, that they will be additionaly changed.
--[SebastianSchmidt], 2007-02-27
Version Date Modified Size Author Changes ... Change note
10 27-Feb-2007 17:06 3.001 kB SebastianSchmidt to previous
9 27-Feb-2007 09:15 2.705 kB to previous | to last principle of least surprise
8 26-Feb-2007 15:10 1.554 kB Chris Purcell to previous | to last
7 23-Feb-2007 18:27 1.175 kB RadomirDopieralski to previous | to last unbound lookup
6 23-Feb-2007 18:14 1.084 kB Chris Purcell to previous | to last
5 23-Feb-2007 18:14 1.063 kB Chris Purcell to previous | to last
4 23-Feb-2007 18:14 1.053 kB Chris Purcell to previous | to last Question about closing bold tags
3 23-Feb-2007 13:21 0.853 kB MicheleTomaiuolo to previous | to last works
2 23-Feb-2007 09:32 0.565 kB RadomirDopieralski to previous | to last oops, wrong sandbox
1 23-Feb-2007 09:29 0.424 kB RadomirDopieralski to last thank you, what do the notes mean?
« This page (revision-10) was last changed on 27-Feb-2007 17:06 by SebastianSchmidt