[Mapguide-trac] [mapguide-trac] #2846: CREATERUNTIMEMAP does not xml-encode layer names (was: CREATERUNTIMEMAP is skipping some layers in Map Definition)
MapGuide Open Source
trac_mapguide at osgeo.org
Wed Jul 20 06:23:39 PDT 2022
#2846: CREATERUNTIMEMAP does not xml-encode layer names
---------------------+------------------------
Reporter: jng | Owner: jng
Type: defect | Status: assigned
Priority: low | Milestone: 4.0
Component: General | Version: 3.1.0
Severity: trivial | Resolution:
Keywords: | External ID:
---------------------+------------------------
Changes (by jng):
* summary: CREATERUNTIMEMAP is skipping some layers in Map Definition =>
CREATERUNTIMEMAP does not xml-encode layer names
Old description:
> From https://github.com/jumpinjackie/mapguide-react-layout/issues/1401
>
> A CREATERUNTIMEMAP operation against that particular map definition is
> skipping a whole bunch of layers for some reason.
New description:
From https://github.com/jumpinjackie/mapguide-react-layout/issues/1401
A CREATERUNTIMEMAP operation against that particular map definition is
skipping a whole bunch of layers for some reason.
UPDATE: The reason is because a few layer names have ampersand (`&`)
characters that result in an invalid CREATERUNTIMEMAP XML response, which
derails the JSON conversion at the layer which has an ampersand in its
layer name
--
--
Ticket URL: <https://trac.osgeo.org/mapguide/ticket/2846#comment:1>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals
More information about the mapguide-trac
mailing list