[mapguide-trac] #985: SymbolType.InsertionPointY LDF schema element is wrong type

MapGuide Open Source trac_mapguide at osgeo.org
Wed May 13 16:37:59 EDT 2009


#985: SymbolType.InsertionPointY LDF schema element is wrong type
------------------------------+---------------------------------------------
   Reporter:  waltweltonlair  |       Owner:       
       Type:  defect          |      Status:  new  
   Priority:  low             |   Milestone:  2.2  
  Component:  General         |     Version:  2.1.0
   Severity:  trivial         |    Keywords:  xsd  
External_id:                  |  
------------------------------+---------------------------------------------
 The !LayerDefinition schema has a !SymbolType element with InsertionPointX
 and InsertionPointY child elements.  InsertionPointX is defined as a
 string, but InsertionPointY is incorrectly defined as a double.  It needs
 to also be a string so that it can support expressions.  Note that the
 data model (!MdfModel) and stylization already treat both as strings that
 support expressions.

 This change will most likely require that we bump the schema version, but
 it's not worth doing it just to fix this one issue.  The bug has existed
 since the beginning of MGOS, and no one seems to have ever tried saving a
 layer definition that uses an expression for InsertionPointY (which is why
 I've set the ticket priority to low).  At some point we'll be updating the
 schema with new functionality, and at that point we can roll in this fix
 as well.

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


More information about the mapguide-trac mailing list