laptop and a wrench

Bug

Filtering a WFS service query string using the sign "+" results to the following error, "Xml Parsing failed. Reason: A name contained an invalid character".

Last Published: June 11, 2015 ArcGIS for Server
Bug ID Number BUG-000087689
SubmittedMay 15, 2015
Last ModifiedApril 23, 2021
Applies toArcGIS for Server
Version found10.3
Operating SystemWindows
Operating System Version2008 R2 64 Bit
StatusIn Review

Workaround

- Use "%20" or a space " " instead of the "+" sign. From the same example, both queries with space and %20 work and result the same cities: - Example that contains space " ": http://localhost/arcgis/services/SampleWorldCities/MapServer/WFSServer?SRSNAME=urn:ogc:def:crs:EPSG:6.9:4283&TYPENAME=esri:cities&VERSION=1.1.0&OUTPUTFORMAT=text/xml; subType=gml/3.1.1/profiles/gmlsf/1.0.0/0&service=WFS&REQUEST=GetFeature&FILTER=<ogc:Filter xmlns:ogc="http://www.opengis.net/ogc" xmlns:gml="http://www.opengis.net/gml"><ogc:BBOX><ogc:PropertyName>Shape</ogc:PropertyName><gml:Envelope><gml:lowerCorner>-40 100</gml:lowerCorner><gml:upperCorner>-20 120</gml:upperCorner></gml:Envelope></ogc:BBOX></ogc:Filter> - Example that contains space "%20": http://localhost/arcgis/services/SampleWorldCities/MapServer/WFSServer?SRSNAME=urn:ogc:def:crs:EPSG:6.9:4283&TYPENAME=esri:cities&VERSION=1.1.0&OUTPUTFORMAT=text/xml; subType=gml/3.1.1/profiles/gmlsf/1.0.0/0&service=WFS&REQUEST=GetFeature&FILTER=<ogc:Filter%20xmlns:ogc="http://www.opengis.net/ogc"%20xmlns:gml="http://www.opengis.net/gml"><ogc:BBOX><ogc:PropertyName>Shape</ogc:PropertyName><gml:Envelope><gml:lowerCorner>-40%20100</gml:lowerCorner><gml:upperCorner>-20%20120</gml:upperCorner></gml:Envelope></ogc:BBOX></ogc:Filter>

Steps to Reproduce

Bug ID: BUG-000087689

Software:

  • ArcGIS for Server

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Discover more on this topic