Opened 14 years ago
Closed 13 years ago
#1700 closed defect (fixed)
Error editing some existing ODBC feature sources
Reported by: | andrewd | Owned by: | jng |
---|---|---|---|
Priority: | medium | Milestone: | Maestro-3.5 |
Component: | Maestro | Version: | 2.1.0 |
Severity: | major | Keywords: | |
Cc: | External ID: |
Description
When I try to edit the schema of a particular ODBC feature source, I get an error in Maestro 3.1. I can edit the same feature source using 2.1.4.5245 without problems. Other ODBC feature sources seem to work fine. Oddly enough, if I create a new feature source and point to the same problem dsn, I can successfully edit the schema.
Here's the XML for the feature source (it's got a config file, but I'm not sure how to get at that in 3.1). Attached is a screen cap of the error.
<?xml version="1.0" encoding="utf-8"?> <FeatureSource xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xsi:noNamespaceSchemaLocation="FeatureSource-1.0.0.xsd">
<Provider>OSGeo.ODBC</Provider> <Parameter>
<Name>DataSourceName</Name> <Value>petitcodiac_sections</Value>
</Parameter> <Parameter>
<Name>GenerateDefaultGeometryProperty</Name> <Value>false</Value>
</Parameter> <ConfigurationDocument>config</ConfigurationDocument>
Attachments (2)
Change History (7)
by , 14 years ago
Attachment: | Capture.PNG added |
---|
comment:1 by , 14 years ago
You can get at the raw XML configuration document at the bottom of the Feature Source editor. If you can attach a file containing said XML content, that would be very helpful
comment:2 by , 14 years ago
I see what's wrong. My XML configuration document classes are too strict with reading unqualified element names (it's always expecting the fdo: qualifier).
I'll relax this requirement
comment:3 by , 14 years ago
Just to clarify, the requirement will be relaxed for reading
When writing the fdo: qualifier for element names and attributes will still be used where necessary
comment:4 by , 14 years ago
Milestone: | Maestro-3.1 → Maestro-3.5 |
---|
comment:5 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
screen cap of "edit schema" error