playframework/Play20 — pull request #810 by nraychaudhuri (2013-04-23 02:59:22+00:00)
Title: XPath.selectText regression

There appears to be a regression in regards to the play.libs.XPath#selectText method:

java.lang.RuntimeException: java.lang.UnsupportedOperationException
at play.libs.XPath.selectText(XPath.java:95) ~[play-java_2.10.jar:2.1-SNAPSHOT]
...
Caused by: java.lang.UnsupportedOperationException: null
at java.util.AbstractList.add(AbstractList.java:131) ~[na:1.6.0_37]
at java.util.AbstractList.add(AbstractList.java:91) ~[na:1.6.0_37]
at org.springframework.util.xml.SimpleNamespaceContext.bindNamespaceUri(SimpleNamespaceContext.java:106) ~[spring-core-3.1.2.RELEASE.jar:3.1.2.RELEASE]
at org.springframework.util.xml.SimpleNamespaceContext.setBindings(SimpleNamespaceContext.java:79) ~[spring-core-3.1.2.RELEASE.jar:3.1.2.RELEASE]
at play.libs.XPath.selectText(XPath.java:89) ~[play-java_2.10.jar:2.1-SNAPSHOT]