« Return to Thread: XMLParser: attribute gets truncated when updated

Re: Yikes! String is mutable! (was Re: [groovy-user] XMLParser: attribute gets truncated when updated)

by Gael Marziou :: Rate this Message:

Reply to Author | View in Thread

Thanks Jim, I really like this one, it works fine and is so concise:

tag.@id = "ABCD"

The only strange thing is that the compiler rejects this syntax in a
"switch" while it accepts it in an "if " statement.

Gael.


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


 « Return to Thread: XMLParser: attribute gets truncated when updated