[Geoserver-devel] [jira] (GEOS-5796) X-Paths with predicates only work with @attribute references

Ben Caradoc-Davies reopened BugGEOS-5796
X-Paths with predicates only work with @attribute references

Niels, I see some online test build failures after this change:
https://cgsrv8.arrc.csiro.au/jenkins/job/geoserver-master-app-schema-online-test/745/

org.geoserver.test.XPathPredicateTest.testFiltering
Failing for the past 1 build (Since Failed#745 )
Took 10 sec.
Error Message

expected:<2> but was:<0>

Stacktrace

java.lang.AssertionError: expected:<2> but was:<0>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:743)
at org.junit.Assert.assertEquals(Assert.java:118)
at org.junit.Assert.assertEquals(Assert.java:555)
at org.junit.Assert.assertEquals(Assert.java:542)
at org.geoserver.test.AbstractAppSchemaTestSupport.assertXpathCount(AbstractAppSchemaTestSupport.java:358)
at org.geoserver.test.XPathPredicateTest.testFiltering(XPathPredicateTest.java:61)

org.geoserver.test.XPathPredicateTest.testGetPropertyValue
Failing for the past 1 build (Since Failed#745 )
Took 39 ms.
Error Message

expected:<2> but was:<0>

Stacktrace

java.lang.AssertionError: expected:<2> but was:<0>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:743)
at org.junit.Assert.assertEquals(Assert.java:118)
at org.junit.Assert.assertEquals(Assert.java:555)
at org.junit.Assert.assertEquals(Assert.java:542)
at org.geoserver.test.AbstractAppSchemaTestSupport.assertXpathCount(AbstractAppSchemaTestSupport.java:358)
at org.geoserver.test.XPathPredicateTest.testGetPropertyValue(XPathPredicateTest.java:75)

Change By:

Ben Caradoc-Davies (23/May/13 8:40 PM)

Status:

Resolved Reopened

Resolution:

Fixed

This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: [http://www.atlassian.com/software/jira](http://www.atlassian.com/software/jira)