Hi Marius,
On Aug 4, 2008, at 10:10 AM, Marius Dumitru Florea wrote:
+1
You could also move there com.xpn.xwiki.util.ExtractHandler
Yes but before we do it could you tell me what it does. The javadoc
says:
" * Extracts a well-formed XML fragment by listening to SAX events."
But I don't understand what this means. The code is pretty complex and
I'm not sure what it does by looking at it quickly.
Thanks
-Vincent
> Hi,
>
> I'd like to create a new core module called xwiki-xml which contains
> xwiki utility classes to help parse XML.
> The first need I have is to put inside an Entity resolver so that
> DTDs
> can be resolved locally.
>
> The idea is to move the following files currently located in xwiki-
> core:
> * XWikiURIResolver
> * xhtml1-*.dtd (2 files)
> * xhtml-*.ent (3 files)
>
> I need this in the new rendering XHTML macro to support entities.
>
> In the future we could put there any generic code useful for handling
> XML (and for which we don't have any external framework to use of
> course).
>
> Here's my +1
>
> Thanks
> -Vincent