Bugs item #1417686, was opened at 01/28/06 16:20 Message generated for change (Settings changed) made by sf-robot You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=116035&aid=1417686&group_id=16035
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None >Status: Closed Resolution: Fixed Priority: 5 Submitted By: Kohsuke Kawaguchi (kkawa) Assigned to: Maarten Coene (maartenc) Summary: Bug in org.dom4j.rule.Mode.getMatchingRule Initial Comment: According to XPath data model, there's no distinction of CDATA nodes and Text nodes --- they should both match "text()" equally. However, the current getMatchingRule() method is written in such a way that CDATA nodes don't match rules written for Text nodes. Adding the following code: } else if(matchType == Node.CDATA_SECTION_NODE) { // in XPath data model, there's no distinction between CDATA and ordinary text matchType = Node.TEXT_NODE; } at line 176 fixes this problem. This problem causes Maven1 xdoc plugin to ignore CDATA sections in xdoc files. So please consider applying this patch. ---------------------------------------------------------------------- >Comment By: SourceForge Robot (sf-robot) Date: 04/04/06 19:20 Message: Logged In: YES user_id=1312539 This Tracker item was closed automatically by the system. It was previously set to a Pending status, and the original submitter did not respond within 14 days (the time period specified by the administrator of this Tracker). ---------------------------------------------------------------------- Comment By: Maarten Coene (maartenc) Date: 03/21/06 13:49 Message: Logged In: YES user_id=178745 Applied slightly modified patch in CVS. Could you please verify the result? thanks, Maarten ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=116035&aid=1417686&group_id=16035 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ dom4j-dev mailing list dom4j-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dom4j-dev