Hi,
I have been doing CITE tests at the moment for a new patch I made. After
making changes to my code I am left with one test that seems to fail and
is (I think) unrelated to anything I have done (the tests also fail with
the latest trunk version of geoserver):
Test wfs:wfs-1.1.0-Basic-GetFeature-tc302.1
(s0005/d1e34902_1/d1e732_1/d1e25206_1/d1e16209_1/d1e12726_1)
Assertion: All supported (including arithmetic) functions should be defined in
the service capabilities document. A defined function accepts 0 or more
arguments and returns a single value.
Request d1e13072_1:
Method: post
URL: http://localhost:7070/geoserver/wfs
Body:
<wfs:GetFeature xmlns="http://www.occamlab.com/ctl"
xmlns:ctl="http://www.occamlab.com/ctl"
xmlns:gml="http://www.opengis.net/gml"
xmlns:myparsers="http://teamengine.sourceforge.net/parsers"
xmlns:ogc="http://www.opengis.net/ogc"
xmlns:ows="http://www.opengis.net/ows"
xmlns:p="http://teamengine.sourceforge.net/parsers"
xmlns:parsers="http://www.occamlab.com/te/parsers"
xmlns:saxon="http://saxon.sf.net/"
xmlns:sf="http://cite.opengeospatial.org/gmlsf"
xmlns:te="http://www.occamlab.com/te"
xmlns:tec="java:com.occamlab.te.TECore"
xmlns:wfs="http://www.opengis.net/wfs"
xmlns:xi="http://www.w3.org/2001/XInclude"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
service="WFS"
version="1.1.0">
<wfs:Query srsName="urn:x-ogc:def:crs:EPSG:4326"
typeName="sf:PrimitiveGeoFeature">
<ogc:Filter>
<ogc:PropertyIsEqualTo>
<ogc:PropertyName>sf:decimalProperty</ogc:PropertyName>
<ogc:Sub>
<ogc:PropertyName>sf:intProperty</ogc:PropertyName>
<ogc:Literal>149.98</ogc:Literal>
</ogc:Sub>
</ogc:PropertyIsEqualTo>
</ogc:Filter>
</wfs:Query>
</wfs:GetFeature>
Response from parser p:XMLValidatingParser.GMLSF1:
<ows:ExceptionReport xmlns:ows="http://www.opengis.net/ows"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
version="1.0.0"
xsi:schemaLocation="http://www.opengis.net/ows
http://localhost:7070/geoserver/schemas/ows/1.0.0/owsExceptionReport.xsd">
<ows:Exception exceptionCode="NoApplicableCode">
<ows:ExceptionText>java.lang.RuntimeException: java.io.IOException
java.io.IOException
null
ERROR: invalid input syntax for integer:&quot;149.98&quot;
Position: 115</ows:ExceptionText>
</ows:Exception>
</ows:ExceptionReport>
Subtest s0005/d1e34902_1/d1e732_1/d1e25206_1/d1e16209_1/d1e12726_1/d1e13128_1
Failed
Subtest s0005/d1e34902_1/d1e732_1/d1e25206_1/d1e16209_1/d1e12726_1/d1e13138_1
Failed
Subtest s0005/d1e34902_1/d1e732_1/d1e25206_1/d1e16209_1/d1e12726_1/d1e13149_1
Failed
Result: Failed (Inherited Failure)
=====
149.98 is indeed not an integer. Anyone have an idea what could have changed to
make this happen?
Regards
--
*Niels Charlier*
Software Engineer
CSIRO Earth Science and Resource Engineering
Phone: +61 8 6436 8914
Australian Resources Research Centre
26 Dick Perry Avenue, Kensington WA 6151
------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in
Real-Time with Splunk. Collect, index and harness all the fast moving IT data
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business
insights. http://p.sf.net/sfu/splunk-dev2dev
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel