History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: GROOVY-1183
Type: New Feature New Feature
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Paul King
Reporter: Dierk Koenig
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
groovy

improve the org.w3c.dom.Node support with List and Map methods

Created: 13/Dec/05 09:02 AM   Updated: 08/Feb/08 01:26 AM
Component/s: groovy-jdk, XML Processing
Affects Version/s: 1.0-JSR-4
Fix Version/s: 1.5.2

Time Tracking:
Not Specified


 Description  « Hide
org.w3c.dom.NodeList is supported with the object iteration methods (each, findAll, etc.)
However, a simple getAt(), setAt() is missing.
Maybe more List methods may be in order (e.g. size()).

org.w3c.dom.NamedNodeMap as returned by node.attributes should also be
accessible like a Map (getAt, putAt, get, ...)

the final goal would be to make org.w3c.dom.Node usages as easy as with groovy.util.Node.



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Dierk Koenig - 20/Dec/05 07:33 AM
DOMCategory.get and getAt should be aligned to return a NodeList for element calls

Paul King - 19/Dec/07 01:16 AM
I believe this is now in place. Anything which you note is missing?

Paul King - 11/Jan/08 06:37 PM
Marking off as fixed for now - we can reopen with specific additions later if we find any.

Paul King - 08/Feb/08 01:26 AM
close off release 1.5.4