[CITE-Forum] Basic WFS Tests

Ben Halstead ben.halstead at civica.co.uk
Mon Jan 11 12:51:02 EST 2016


Mea culpa - I was adding some extra layers and managed to knacker the config.

This has now being resolved - and I now see failure in these tests for each layer, e.g.

property Is Greater Than Equal To_match Any fails for ancWood
http://gis-csd-01.cloudapp.net/WFS200Test/WFS/WFSHandler.ashx?service=WFS&version=2.0.0&request=GetFeature&count=10&startindex=0&typenames=ns49:AncWood2&namespaces=xmlns(xml,http://www.w3.org/XML/1998/namespace),xmlns(ns49,http://www.civica_gis.co.uk/namespaces),xmlns(wfs,http://www.opengis.net/wfs/2.0)&filter=%3CFilter%20xmlns%3D%22http%3A%2F%2Fwww.opengis.net%2Ffes%2F2.0%22%20xmlns%3Ans49%3D%22http%3A%2F%2Fwww.civica_gis.co.uk%2Fnamespaces%22%20xmlns%3Awfs%3D%22http%3A%2F%2Fwww.opengis.net%2Fwfs%2F2.0%22%3E%3CPropertyIsGreaterThanOrEqualTo%20matchAction%3D%22Any%22%20matchCase%3D%22true%22%3E%3CLiteral%3E0.0%3C%2FLiteral%3E%3CValueReference%20xmlns%3Atns%3D%22http%3A%2F%2Fwww.civica_gis.co.uk%2Fnamespaces%22%3Etns%3AID%3C%2FValueReference%3E%3C%2FPropertyIsGreaterThanOrEqualTo%3E%3C%2FFilter%3E
with
XPath expression cannot be evaluated: xs:anySimpleType(ns1:ID) ge xs:anySimpleType('0.0')XPath syntax error at char 25 in {...pe(ns1:ID) ge xs:anySimpleT...}: Unknown constructor function: {http://www.w3.org/2001/XMLSchema}anySimpleType.

I am confused by the operator

ge xs:anySimpleType('0.0')

should that have a string argument ?

I can see our results might not match that - as we return ID as long - e.g.

<wfs:member>
<civica_gis:AncWood2 gml:id="AncWood2.0">
<civica_gis:GEOMETRY>
<gml:Polygon gml:id="AncWood2.0.1" srsName="urn:ogc:def:crs:EPSG::27700" srsDimension="2">
<gml:exterior><gml:LinearRing>
<gml:posList>425647.03 410000.75 ... 425647.03 410000.75</gml:posList></gml:LinearRing></gml:exterior>
</gml:Polygon>
</civica_gis:GEOMETRY>
<civica_gis:ID>0</civica_gis:ID>
<civica_gis:ref>Duke/Riding Wood</civica_gis:ref>
</civica_gis:AncWood2>
</wfs:member>

Thanks for all your help so far

Ben Halstead


Ben Halstead | Development Manager | Civica UK Limited
Tel: 0845 071 6220
e-mail: ben.halstead at civica.co.uk | http://www.civica.co.uk<http://www.civica.co.uk/>


■ Hull City Council officially signs seven year partnership with Civica... more<https://www.civica.co.uk/articles/860-Hull-City-Council-officially-signs-seven-year-partnership-with-Civica>
■ Exciting Bristol Opportunities... more<https://www.civica.co.uk/articles/859-Exciting-Bristol-Opportunities->
■ Partnership: the foundation of a changing state... more<https://www.civica.co.uk/articles/857-Partnership-the-foundation-of-a-changing-state>

Civica UK Limited<http://www.civica.co.uk/>
-------------------------------------------------------------------------------------------

This e-mail is sent for and on behalf of Civica UK Limited company number 01628868,

Civica Services Limited company number 02374268, or Civica Group Limited company number 04968437.

All companies are registered in England and Wales and each has its registered office at 2 Burston Road, Putney, London, SW15 6AR.

Confidentiality: This e-mail and its attachments are intended for the above named only and may be confidential. If they have come to you in error you must take no action based on them, nor must you copy or show them to anyone. If you have received this in error please advise the sender by replying to this e-mail immediately highlighting the error and deleting it from your system.





More information about the CITE-Forum mailing list