Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
Description
def p = new XmlSlurper().parseText("""<root> <a><z/><z/></a> <b></b> <c></c> </root>""") assert 0 == p.'*'.z.size() // *** why not 2? *** assert p.'*'.'*'.size() == 0 // *** why not 2? *** assert p.'*'.'*'.collect{it.name()} == [] // *** why not ["z", "z"]? ***