Re: [cowiki-dev] Parser test document
PAUL HANCHETT <[email protected]>
| Newsgroups | gmane.comp.php.cowiki.devel |
|---|---|
| Message-ID | <[email protected]> |
How about putting it into a new directory <coWiki_Root>/misc/test/parser
as ReferenceMarkup.txt?
This document may actually end up being a series documents:
* One document with only valid markup. (Does it need to demonstrate
all valid combinations?) For validation, probably it should also
have a parallel document representing the XML version in the data
store. This would make an automated check of the parser
possible. Potentially, this is a series of individual markup
checks, but still needs to check valid aggregations of markups.
* Disallowed combinations of markup and the resulting (expected) XML
store
* Similarly, there should be examples of the XML store and the HTML
it should be translated to.
If these things were done, checks of the parser and display formatting
would could be automated...
Daniel T. Gorski wrote:
>On 02 Apr 12:01, Sy wrote:
>
>
>
>>Just to confirm: We are looking for a:
>>
>>* coWiki syntax document
>>* which is made for developers, and not users
>>* which has "regular uses" of syntax
>>* which has "strange uses" of syntax
>>* which demonstrates all publicized functionality
>>* which demonstrates new CVS syntax (where applicable)
>>
>>
>
>
>
>>Basically, this document would exist on coWiki.org as a reference for
>>what the syntax should look like, and developers which are playing
>>with the parser etc can copy that page's source into their testing
>>installation and compare side-by-side. Correct?
>>
>>
>
>I would prefer to have this test document in CVS with a name like TEST.IDIOM
>or TEST.COWIKI.IDIOM (for future use, I already mentioned this somewhere).
>The developers would have to use this document to check the parser and if
>the parser behaviour should have change, it should by discussed anyway first
>on the dev- list. This would lead to appropiate changes to the test document
>first.
>
>If its finished, the right place for it is CVS, not coWiki pages.
>
>IMHO, regards dtg
>
>P.S. I know that making such a document is not a small task. Do your best :)
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [email protected]
>For additional commands, e-mail: [email protected]
>
>
>