[Geoserver-devel] [jira] (GEOS-6071) PropertyIsEqualTo doesn't match & (and other special chars?)

Jonathan Moules created BugGEOS-6071
PropertyIsEqualTo doesn’t match & (and other special chars?)

Issue Type:

BugBug

Affects Versions:

2.4.0

Assignee:

Andrea Aime

Components:

WMS

Created:

03/Oct/13 11:59 AM

Description:

I have a attrible with a value of “P&D Bay”.
I’m trying to filter it:

<ogc:Filter>
<ogc:PropertyIsEqualTo>
<ogc:PropertyName>ORDER_TYPE</ogc:PropertyName>
<ogc:Literal>P&D Bay</ogc:Literal>
</ogc:PropertyIsEqualTo>
</ogc:Filter>

is “correct” - but doesn’t appear to match it.

If I try
<ogc:Literal>P&D Bay</ogc:Literal>
it fails validation and GeoServer flakes out with an error because it expects & to be leading a special character.

Project:

GeoServer

Priority:

MajorMajor

Reporter:

Jonathan Moules

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)