cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephan Michels <step...@apache.org>
Subject Re: Wiki grammar selft-test created
Date Thu, 27 Mar 2003 10:20:24 GMT


On Wed, 26 Mar 2003, Bertrand Delacretaz wrote:

> I have added a self-describing test of the Chaperon Wiki grammar under
> src/blocks/chaperon/samples, accessible from
> http://localhost:8888/samples/chaperon/wikitest/selftest.html . Reading
> the resulting document tells you about the test results.
>
> Please add test cases if you discover or know about problems - it would
> be good to have a complete test and reference of the wiki syntax.
>
> New test pages can be added to the wikitest directory for special cases
> (like the handling of invalid syntax), in which case it would be good
> to list them in the samples.xml page.

Thanks, well done!

> Quite a few things work with the current grammar - good job Stephan (or
> whoever wrote the grammar)!
>
> Currently, tests 1.2, 4.2, 6.1 and 6.2 fail.

Test 1.2:
The current concept was to separate the sections by the titles. ! = root
level section, !! = subsection, !!! subsubsection etc. The grammar is
designed to expect text after a title, which fill the section. So
this test must fail. I can rewrite the grammar to allow empty sections.

Test 4.2:
I don't see a difference :-/

Test 6.1:
Exists a equivalent to a horizontal ruler in xdoc?

Test 6.2:
Should be '//' a soft break?

> Also, the relative link in test 5.1 points to the Cocoon wiki, can this
> be configured? I think generating a relative link without processing it
> would be more useful in the general case.

Yes, it is part of the wiki2xdoc stylesheets. At the moment, I think
pointing the relative links to Cocoon Wiki was the best solution.

Thanks for helping, Stephan.


Mime
View raw message