maven-doxia-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lukas Theussl <>
Subject Re: Doxia Parsing API?
Date Wed, 19 Dec 2007 11:05:57 GMT
Hi Vincent!

Confluence and TWiki modules are similar and different from the rest 
because they were supplied by the same (external) people. The only 
standard in doxia is the sink api, parsing is done basically 
independently in each module. I have reduced the problem of code 
duplication between the xdoc and xhtml modules by introducing some Xhtml 
base classes [1] but there is nothing like that for text parsers (yet).

I'm looking forward to your contributions! ;)



Vincent Massol wrote:
> Hi,
> I'd like to implement a Doxia parser for XWiki. However I've noticed  
> there's no standard in Doxia yet for parsing. Actually looking at  Doxia 
> confluence, twiki and Apt I see each does it with his own code.  However 
> the Confluence and TWiki implementations are very similar,  each 
> defining Block, BlockParser, etc.
> Is someone working on offering a parsing api in doxia so that:
> 1) duplications can be removed
> 2) people can more easily write parsers for different syntaxes
> Since my goal is to use Doxia as the rendering mechanism for XWiki I'd  
> need the parser to be very fast (each request will lead to parsing the  
> content). Does anyone have any idea how the Confluence parser compares  
> for example with, say, a JavaCC-generated parser?
> Thanks
> -Vincent

View raw message