Ticket #165 (closed defect: fixed)
Missing VectorScaleRange in LayerDefinition causes Runtime Exception
| Reported by: | zspitzer | Owned by: | waltweltonlair |
|---|---|---|---|
| Priority: | medium | Milestone: | 2.1 |
| Component: | Mapping Service | Version: | 2.0.0 |
| Severity: | major | Keywords: | |
| Cc: | External ID: | 939557 |
Description
for example not having <VectorScaleRange?>.....</VectorScaleRange> in a layer definition for example throws
An exception occurred in DB XML component. Error: XML Indexer: Parse error in document at line, 9, char 28. Parser message: Not enough elements to match content model : '(ResourceId?,Opacity,(FeatureName?,FeatureNameType?,Filter,PropertyMapping?,Geometry,Url,ToolTip?,VectorScaleRange?),ExtendedData?1)'
however having an empty <VectorScaleRange?></VectorScaleRange> ie no styling or scale ranges
will case a runtime error and a console dialog on xp.
the following is listed in the logs
- MgStylizationUtil?.StylizeLayers? line 923 file c:\build_bond_area\mapguide_open_source_v1.2\build_13.7\mgdev\server\src\services\mapping\StylizationUtil?.cpp Failed to stylize layer: Datasets_ABORIG_NT
Change History
Note: See
TracTickets for help on using
tickets.
