Ticket #184 (closed defect: fixed)

Opened 5 years ago

Last modified 5 years ago

Non-alphanumeric characters are encoded in result of DescribeSchemaAsXml() API

Reported by: ronnielouie Owned by: ronnielouie
Priority: medium Milestone: 1.2
Component: Feature Service Version: 1.2.0
Severity: major Keywords:
Cc: External ID: 936389

Description

Using a feature source that contains non-alphanumeric characters (for example '$') in the class name or properties, perform a call to DescribeSchemaAsXml?() API. The returned result will contain an encoding of the character (for example -x24- to represent the '$' character).

Change History

Changed 5 years ago by ronnielouie

  • status changed from new to assigned

Changed 5 years ago by ronnielouie

  • status changed from assigned to closed
  • resolution set to fixed

Changed FdoXmlFlags? NameAdjust? to false so that it does not encode the non-alphanumeric characters when writing to XML.

Fixed by submission  http://trac.osgeo.org/mapguide/changeset/1753 Fixed by submission  http://trac.osgeo.org/mapguide/changeset/1754

Changed 5 years ago by chrisclaydon

Rolled back by submission  http://trac.osgeo.org/mapguide/changeset/1797

Rolled back by submission  http://trac.osgeo.org/mapguide/changeset/1798

The problems caused by the escaping of characters that are not valid in XML element names that occurred in the schema report pages will be addressed in a different way.

Changed 5 years ago by chrisclaydon

The following two submissions fix the schema report pages to function correctly with the character escaping re-introduced by rolling back the previous changes:

Fixed by submission  http://trac.osgeo.org/mapguide/changeset/1807

Fixed by submission  http://trac.osgeo.org/mapguide/changeset/1808

Note: See TracTickets for help on using tickets.