Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.0-JSR-5
-
Component/s: None
-
Labels:None
Description
e.g. try the following script in the shell...
xml = """<people>
<person name="Rod">
<pet name="Misha" age="8"/>
<pet name="Bowie" age="2"/>
</person>
<person name="Eric">
<pet name="Poe" age="4"/>
<pet name="Doc" age="3"/>
</person></people>"""
people = new groovy.util.XmlParser().parseText( xml )
println people.person.pet.name
Issue Links
- is depended upon by
-
GROOVY-756
improve GroovyShell
-
The exception that signaled incomplete source had changed. Made changes to SourceUnit.failedWithUnexpectedEOF() to recognise the new exceptions.