Hi Jason,

On Jun 7, 2008, at 9:30 PM, Jason van Zyl wrote:

Hi,

Just letting folks know that I've taken what's in trunk and I've been chopping it apart for a couple weeks:

- removing plexus as a requirement
- dumped the doxia-book module -- it doesn't belong in the core
- dumped the doxia-maven-plugin module -- it doesn't belong in the core - dumped the doxia-logging-api -- I don't know who did this but it's just a bad idea - i combined the parser and sink apis. they are never used apart in practice, the separate attempt failed inside maven

Sounds cool.

I'm curious about this last statement. In the design I have for xwiki's rendering and in wikimodel too the Parser API and the Sink (Listener in xwiki's and wikimodel's cases) are separated and this seems to make sense. For example the Parser generates a DOM, on which transformations can be applied (it can be cached too) and the Sink (Listener in xwiki's and wikimodel's cases) is used to transform the DOM's events into something else (PDF, RTF, wiki syntax, XHTML, etc).

In this context I'm not sur what "combined parser and sink apis" means. Could you explain a bit? My chief concern is that I'm currently wrapping Doxia into XWiki and I'd like to continue to be able to do so in the future.

Thanks
-Vincent



My ultimate goal is to extract the dependency on doxia out of Maven's core. What's happened is a terrible coupling. The plugin manager is bound to doxia because of reports which essentially look like plugins and ultimately it should just be another system that is pulled in as a set of components. That release of maven and doxia are coupled needs to be removed for Maven 2.1. I am personally interested in creating a data driven API for reporting, not a document driven API. No one needs to use what I'm making, but at the very least I will remove the dependency on Doxia from Maven's core. I'll probably put this somewhere in the next few weeks to show people, I just started one day a few weeks ago and I just ended up where I am now. Not saying anyone has to use what I'm making just giving folks a heads up.

Thanks,

Jason
  • FYI Jason van Zyl

Reply via email to