Return-Path: Delivered-To: apmail-maven-doxia-dev-archive@www.apache.org Received: (qmail 3552 invoked from network); 19 Dec 2007 10:14:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 19 Dec 2007 10:14:06 -0000 Received: (qmail 22529 invoked by uid 500); 19 Dec 2007 10:13:56 -0000 Delivered-To: apmail-maven-doxia-dev-archive@maven.apache.org Received: (qmail 22483 invoked by uid 500); 19 Dec 2007 10:13:55 -0000 Mailing-List: contact doxia-dev-help@maven.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: doxia-dev@maven.apache.org Delivered-To: mailing list doxia-dev@maven.apache.org Received: (qmail 22474 invoked by uid 99); 19 Dec 2007 10:13:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Dec 2007 02:13:55 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [212.27.42.28] (HELO smtp2-g19.free.fr) (212.27.42.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Dec 2007 10:13:33 +0000 Received: from smtp2-g19.free.fr (localhost.localdomain [127.0.0.1]) by smtp2-g19.free.fr (Postfix) with ESMTP id 4C35012B72F for ; Wed, 19 Dec 2007 11:13:33 +0100 (CET) Received: from [192.168.0.11] (lam60-1-82-233-128-14.fbx.proxad.net [82.233.128.14]) by smtp2-g19.free.fr (Postfix) with ESMTP id 246CC12B6C6 for ; Wed, 19 Dec 2007 11:13:33 +0100 (CET) Message-Id: From: Vincent Massol To: doxia-dev@maven.apache.org Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v915) Subject: Doxia Parsing API? Date: Wed, 19 Dec 2007 11:13:32 +0100 X-Mailer: Apple Mail (2.915) X-Virus-Checked: Checked by ClamAV on apache.org 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