[mapguide-trac] #1262: Handle BOM correctly

MapGuide Open Source trac_mapguide at osgeo.org
Wed Feb 3 04:07:09 EST 2010


#1262: Handle BOM correctly
--------------------------------+-------------------------------------------
   Reporter:  ksgeograf         |       Owner:       
       Type:  enhancement       |      Status:  new  
   Priority:  low               |   Milestone:       
  Component:  Resource Service  |     Version:  2.1.0
   Severity:  trivial           |    Keywords:       
External_id:                    |  
--------------------------------+-------------------------------------------
 This is an enhancement request to support BOM correctly in MapGuide.

 Since Xml documents are also text documents, they are frequently prefixed
 with a Byte-order-marker, BOM.

 MapGuide reads xml documents using the MgXmlUtil::ParseString, which does
 not look for BOM. This is by design, as ParseString is not intended to
 parse documents.

 It is possible to upload an xml document with a BOM without any errors,
 but attempting to use the document will cause errors in MapGuide.

 This is particularly annoying if the document is uploaded as a
 ResourceHeader, as that will make enumeration of the document fail.

 The severity of this problem is low, because one can simply upload a
 correct document, and the error goes away.

-- 
Ticket URL: <https://trac.osgeo.org/mapguide/ticket/1262>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals


More information about the mapguide-trac mailing list