New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GetFeatureInfo returns non valid GML document with clustered layer #4082
Comments
ping @szekerest |
Hmmm. Looks like colons in field names are not really appreciated. It could probably handled in the WMS driver? |
@szekerest colons in xml tags are illegal, there is no way we are going to be able to escape those. Can we change the clustering driver to output |
With hindsight, choosing attribute names that are hardcoded to something that contains a colon was not a good choice as it prevents them from being included in any xml document, given that there's a very strict limitation on what characters are allowed for an entity.
I'm demilestoning this as this is definitely something that cannot happen in a point release |
Reporter: dr
Date: 2011/11/15 - 18:16
Trac URL: http://trac.osgeo.org/mapserver/ticket/4082
Try to use GetFeatureInfo with clustered layer. Example of WMS server response:
But this document is not valid. Try to parse it within OpenLayers I get an error message: "XML Parsing Error: prefix not bound to a namespace". Is it possible to exclude Cluster:FeatureCount and Cluster:Group tags from server response?
The text was updated successfully, but these errors were encountered: