Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#616 closed defect (fixed)

Incorrect XML definition

Reported by: jnel Owned by: ksgeograf
Priority: medium Milestone:
Component: Maestro Version: 2.0.1
Severity: minor Keywords: Parameteroverrides XML Structure
Cc: External ID:


When i create a compound symboldefinition in Maestro, the XML provided in the Autodesk document (building_symbol_libraries_with_autodesk_mapguide_enterprise_2009.pdf) for the hospital symbol is: <?xml version="1.0" encoding="UTF-8"?> <SimpleSymbolDefinition xmlns:xsi="" xsi:noNamespaceSchemaLocation="SymbolDefinition-1.0.0.xsd" version="1.0.0"> <Name>Hospital</Name> <Description>International Hospital Symbol</Description> <Graphics> <Path> <Geometry>M -2.5,2.5 H 2.5 V -2.5 H -2.5 Z</Geometry> <FillColor>FF0000FF</FillColor> <LineColor>FFFFFFFF</LineColor> <LineWeight>0.75</LineWeight> <LineWeightScalable>false</LineWeightScalable> </Path> <Path> <Geometry>M -1.0,1.25 V -1.25 Z M 1.0,1.25 V -1.25 Z M -1.0,0.0 H 1.0 Z</Geometry> <LineColor>FFFFFFFF</LineColor> <LineWeight>0.75</LineWeight> <LineWeightScalable>false</LineWeightScalable> </Path> </Graphics> <PointUsage/> <ParameterDefinition/> </SimpleSymbolDefinition>

On the second last line the parameterdefinition structure is incorrect.

When i generate the layerdefinition in Maestro I provide it the following



<ResourceId>Library://sys/Symbols/Road.SymbolDefinition</ResourceId> <ParameterOverrides> </ParameterOverrides>



I Validate and save this definition, without error.

When I look at the xml again It is:


<LegendLabel /> <CompositeSymbolization>



<ParameterOverrides /> </SymbolInstance>



I Believe the ParameterOverrides is illegal xml structure

Change History (2)

comment:1 by jnel, 15 years ago

Resolution: fixed
Status: newclosed

This is not a bug. The Structure is correct according to Layerdefinition-1.1.0.xsd

Apparantly it is valid XML

Apologies for a false alarm

comment:2 by ksgeograf, 15 years ago

No worries. I was on vacation, so I just saw the post today :).

Note: See TracTickets for help on using tickets.