[mapguide-trac] #838: "Coordinate system override" feature fails on
MapGuide 1.0.9.15910 with exception
MapGuide Open Source
trac_mapguide at osgeo.org
Fri Feb 6 12:52:40 EST 2009
#838: "Coordinate system override" feature fails on MapGuide 1.0.9.15910 with
exception
------------------------+---------------------------------------------------
Reporter: danfrias | Owner: ksgeograf
Type: defect | Status: new
Priority: medium | Milestone: 2.2
Component: Maestro | Version: 2.0.1
Severity: minor | Keywords: SupplementalSpatialContextInfo coordinate system override
External_id: |
------------------------+---------------------------------------------------
== DESCRIPTION OF THE PROBLEM ==
When attempting to save a dataconnection after adding a Coordinate System
Override (an FDO connection to PostGIS was where this error originally
appeared), the following message appears (note the misspelled "retrive"
word is how it appears in the error message):
{{{
Failed to retrive coordinate info: The remote server returned an error:
(559) MgDbXmlException.: An exception occurred in DB XML component.
Error: XML Indexer: Parse error in document at line, 12, char 37. Parser
message: Element 'SupplementalSpatialContextInfo' is not valid for content
model: '((Name,CordinateSystem),ExtendData1)'
Exception occurred in method MgResourceDefinitionManager.UpdateDocument at
line 601 in file
d:\build\mapguide_open_source_v2.0\build_30.11\mgdev\server\src\services\resource\ResourceDefinitionManager.cpp
}}}
== SOLUTION ==
When looking at the XML created through this feature, the following two
lines appear where the opening tag for the SupplementalSpatialContextInfo
should be:
{{{
<SupplementalSpatialContextInfo />
<SupplementalSpatialContextInfo>
}}}
Deleting the first of these lines (the one ending with the stray forward
slash) allows the dataconnection to be saved without an issue. This tag
appears to be the source of this problem.
--
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/838>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals
More information about the mapguide-trac
mailing list