[mapguide-trac] #1232: Maestro: does not properly escape GT symbol in map metadata

MapGuide Open Source trac_mapguide at osgeo.org
Sun Jan 10 10:02:52 EST 2010


#1232: Maestro: does not properly escape GT symbol in map metadata
---------------------+------------------------------------------------------
 Reporter:  jbirch   |         Owner:  ksgeograf  
     Type:  defect   |        Status:  assigned   
 Priority:  medium   |     Milestone:  Maestro-2.1
Component:  Maestro  |       Version:             
 Severity:  major    |    Resolution:             
 Keywords:           |   External_id:             
---------------------+------------------------------------------------------
Changes (by ksgeograf):

  * milestone:  Maestro-2.0 => Maestro-2.1

Comment:

 Ok, I have done some testing, and you are correct; it does not escape
 those characters.

 But for some reason the Xml with the unescaped characters is accepted by
 any program that I can test with, eg.: MapGuide itself, Firefox and IE.

 This suggests that the escape is done correctly, even if it is different
 than I would expect.

 http://www.w3.org/TR/REC-xml/#syntax

 Describes that < MUST be escaped, where > MUST be escaped only in CDATA
 fragements.

 I don't think I can fix Maestro so the output has those correctly escaped
 without writing a custom serializer.

-- 
Ticket URL: <https://trac.osgeo.org/mapguide/ticket/1232#comment:5>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals


More information about the mapguide-trac mailing list