Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
1.0-JSR-6
-
None
-
Patch
Description
The attached patch and testcase extends DOMCategory to also support:
node.text()
node.name()
node.parent()
nodelist.iterator()
While not strictly necessary, these extensions make DOM processing closer to XmlSlurper and XmlParser usage.
There are some other discrepancies between DOMCategory and XmlSlurper and XmlParser usage but I will make this the subject of a subsequent issue.