[ http://issues.apache.org/jira/browse/NUTCH-35?page=history ]
Stefan Grroschupf updated NUTCH-35:
-----------------------------------
Attachment: xmlApiPatchII.patch
With this new patch all junit tests (ant test) pass except of the segmentMerge
tool, but the problem is not releated to the plugin system.
The problem was that the java xml api returns an emty string object in case a
xml attribute does not exist instead of returning null as dom4j do.
Since we had a plugin class string we was trying to load the class " " what of
curse fails with a ClassNotFound Exception.
I'm very sorry for missing to verify that and only test the plugin system
itself, I will pay more attention next time to other tests as well.
> modify XML parsing code in Nutch to use single API
> --------------------------------------------------
>
> Key: NUTCH-35
> URL: http://issues.apache.org/jira/browse/NUTCH-35
> Project: Nutch
> Type: Improvement
> Environment: nutch target platform (UNIX/Linux/Mac OSX/Windows/etc.)
> Reporter: Chris A. Mattmann
> Assignee: Stefan Grroschupf
> Priority: Minor
> Attachments: xmlApiPatchII.patch, xml_API_patch.txt
>
> Nutch uses more than a single XML reading API to parse xml configuration
> files and perform other such XML operations. The goal of this particular
> reported issue would be to modfiy the nutch xml parsing functionality to use
> a single XML reading and writing API. As suggested by Doug, it would be nice
> if the XML reading/writing could be done through the native Java classes
> provided with the JDK. I can get this done by the end of the month if its
> assigned to me.
> Thanks!
> --Chris
--
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
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Nutch-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nutch-developers