[Geoserver-devel] [JIRA] (GEOS-8890) Error with not ascii field names and REST API

Paolo Corti created an issue

GeoServer / BugGEOS-8890

Error with not ascii field names and REST API

Issue Type:

BugBug

Affects Versions:

2.13.2

Assignee:

Unassigned

Attachments:

Screenshot 2018-08-13 14.23.53.png, ming_female_1.zip

Created:

13/Aug/18 8:25 PM

Environment:

Ubuntu 16.04 LTS, GeoNode master with GeoServer 2.13.x

Priority:

MediumMedium

Reporter:

Paolo Corti

It looks like the GeoServer REST API fails with a shapefile containing not ASCII field names.

I can successfully view the shapefile in the GeoServer admin preview:

ming_female_1.zip

However, when trying a request to this REST API endpoint it fails:

Endpoint accessed:

http://localhost:8080/geoserver/rest/workspaces/geonode/datastores/wm_201808/featuretypes/ming_female_1.xml

Error raised by GeoServer:

This page contains the following errors:
error on line 71 at column 20: xmlParseCharRef: invalid xmlChar value 29
Below is a rendering of the page up to the first error.

I am attaching the shapefile in order to reproduce the problem. Thanks in advance!

Add Comment

Add Comment

Get Jira notifications on your phone! Download the Jira Cloud app for Android or iOS


This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100090-sha1:011120e)

Atlassian logo