PS: Sorry I mean Filter 2.0 :-)
On 6/17/2014 8:51 AM, Nhan Vo wrote:
Hi Ben,
Thank you for the reply. I switched to version 2.5.1 to check if a bug
in WCS was fixed, but it was not. So to avoid the problem asap in our
running applications I switched back to version 2.3.5 in which the
matchCase was accepted in fes:PropertyIsLike. Perhaps I will try the
next Geoserver update.
I've checked with WFS 2.0.0 specification and it seems indeed the
matchCase attribute does not exist for fes:PropertyIsLike. I am not
sure if this is most desirable :-)
Thanks again for your useful info.
Best regards,
Nhan
On 6/17/2014 4:19 AM, Ben Caradoc-Davies wrote:
[Moving to GeoServer users list]
Nhan,
the matchCase attribute is not permitted on an FES 2.0.0
fes:PropertyIsLike element. If I add matchCase='false' to
fes:PropertyIsLike in a working filter, I can reproduce your
Geoserver error.
Kind regards,
Ben.
On 16/06/14 20:43, Nhan Vo wrote:
Hi list,
I've just upgraded from Geoserver 2.3.5 to 2.5.1, and the following Get
request does not work any more:
http://localhost:8081/geoserver/wfs?VERSION=2.0.0&SERVICE=WFS&REQUEST=GetFeature&TYPENAME=de:entries&FILTER=%3Cfes%3AFilter+xmlns%3Afes%3D%27http%3A%2F%2Fwww.opengis.net%2Ffes%2F2.0%27+xmlns%3Agml%3D%27http%3A%2F%2Fwww.opengis.net%2Fgml%2F3.2%27%3E%3Cfes%3APropertyIsLike+matchCase%3D%27false%27+wildCard%3D%27*%27+singleChar%3D%27%23%27+escapeChar%3D%27!%27%3E%3Cfes%3AValueReference%3Enokis%3Aname%3C%2
Ffes%3AValueReference%3E%3Cfes%3ALiteral%3E*%3C%2Ffes%3ALiteral%3E%3C%2Ffes%3APropertyIsLike%3E%3C%2Ffes%3AFilter%3E
Geoserver gives back the following error:
org.xml.sax.SAXException: Attempted to construct illegal filter - I
dont
understand the tag: fes:ValueReference. HINT: tags are case-sensitive!
Attempted to construct illegal filter - I dont understand the tag:
fes:ValueReference. HINT: tags are case-sensitive!
If I however skip the FILTER part in the request, it still works, i.e.
with the following request:
http://localhost:8081/geoserver/wfs?VERSION=2.0.0&SERVICE=WFS&REQUEST=GetFeature&TYPENAME=de:entries
Could someone give me a hint? Thanks!
Best regards,
Nhan
------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk
Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
GeoTools-GT2-Users mailing list
geotools-gt2-us...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users