[root]/groovy/groovy-core/src/main/org/codehaus/groovy/sandbox/util
slurpersupport
(0 files, 0 lines)
Move XmlSlurper and the Streaming Builders out of the sandbox
0 lines of code changed in:
Try to choose good names for namespace prefixes when building the result of a GPath expression.
Use the name used in the parsed document unless directed otherwise
10 lines of code changed in:
Add namespace supprt to XmlSlurper
2 lines of code changed in:
Complete reimplementation of XMLSlurper. This version is intended to consume as little memory as possible and to allow the processing of very large XML documents
213 lines of code changed in:
Commit a slightly tidier version proir to completely replacing the whole thing
48 lines of code changed in:
Add an element() method to the object returned by selecting an attribute.
This returns the element having the attribute.
Currently this only works if there is precisley one match for the attribute name.
A later changewill allow a collection of elements to be returned.
37 lines of code changed in:
Make text() and toString() do sane things for GPath expressions which match nothing
33 lines of code changed in:
Builder now handles Gpath expressions where there are attributes in namespacces
49 lines of code changed in:
Remenber namespace information for attributes
19 lines of code changed in:
Make XMLSlurper (partially) namespace aware.
Yielding a GPath expression in a Streaming Builder will put the elements in the correct namespace (previously the namespace information was ignored)
The namespace information for attributes is still ignored.
64 lines of code changed in:
Make XMLSlurper handle a.b."@".each {..} properly
103 lines of code changed in:
Add the ability to yield multiple nodes in a Builder closure
23 lines of code changed in:
Remove the setter fro parent - this seems to cause some problems with name resolution.
1 lines of code changed in:
Add patch to implement parent() in XMLSlurper
Thanks to Calvin Xiu for the patch
22 lines of code changed in:
Make the Xml Element Writable
21 lines of code changed in:
Make text() work with mixed content
2 lines of code changed in:
Allow text() to be ommitted in contexts which require a string
19 lines of code changed in:
Add a contents() method to XmlList
This allows the contents of a node to be pasted into the thing being built by a Builder
22 lines of code changed in:
Allow arbitrary subscripts in GPath expressions on the result of running XmlSlurper
Begin the work to allow GPath expressions to be used to specify markup to be generated by Builders
46 lines of code changed in:
Intial check in of XmlSlurper
490 lines of code changed in: