[ 
http://issues.apache.org/jira/browse/NUTCH-196?page=comments#action_12364861 ] 

Andrzej Bialecki  commented on NUTCH-196:
-----------------------------------------

I don't think it's necessary for the core to use anything else than the 
standard XML APIs. I specifically meant the plugins environment.

Sometimes it's not possible to select a single API, e.g. the RSS parser uses 
JDOM as a dependency of FeedParser; the PDF parser uses log4j as a dependency 
of PDFBox, etc. All I'm proposing is to avoid putting the same libraries in 
many places, and to make it easier for plugin developers to use other, more 
flexible APIs than the core XML API (since we already have the necessary 
libraries in the tree, but now they are not reusable).

> lib-xml and lib-log4j plugins
> -----------------------------
>
>          Key: NUTCH-196
>          URL: http://issues.apache.org/jira/browse/NUTCH-196
>      Project: Nutch
>         Type: Improvement
>     Versions: 0.8-dev
>     Reporter: Andrzej Bialecki 
>     Assignee: Andrzej Bialecki 

>
> Many places in Nutch use XML. Parsing XML using the JDK API is painful. I 
> propose to add one (or more) library plugins with JDOM, DOM4J, Jaxen, etc. 
> This should simplify the current deployment, and help plugin writers to use 
> the existing API.
> Similarly, many plugins use log4j. Either we add it to the /lib, or we could 
> create a lib-log4j plugin.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Nutch-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nutch-developers

Reply via email to