laptop and a wrench

Error

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

Última publicación: June 11, 2015 ArcGIS for Server
Número de ID del error BUG-000087689
EnviadoMay 15, 2015
Última modificaciónApril 23, 2021
Relacionado conArcGIS for Server
Versión encontrada10.3
Sistema operativoWindows
Versión de sistema operativo2008 R2 64 Bit
EstadoIn Review

Solución alternativa

- 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>

Pasos para reproducir

ID del error: BUG-000087689

Software:

  • ArcGIS for Server

Recibir notificaciones cuando cambie el estado de un error

Descargar la aplicación de soporte de Esri

Descubrir más sobre este tema

Obtener ayuda de expertos en ArcGIS

Contactar con el soporte técnico

Descargar la aplicación de soporte de Esri

Ir a opciones de descarga