Location of a Geodatabase XML Schema Document?

3074
13
01-04-2012 12:53 AM
by Anonymous User
Not applicable
Original User: tomlind

Hi,

we are trying out the Sparx Enterprise Architect ArcGIS module, and are having problems to import xml-files generated by EA in ArcCatalog 10 sp3 (parsing error). We are contacting sparx support. Meanwhile we would like to validate the XML-files against a ESRI Geodatabase schema-document but cannot loacate such a schema. The xml-files generated by ArcCatalog and EA both contains

<esri:Workspace xmlns:esri="http://www.esri.com/schemas/ArcGIS/10.0"...

but no schemalocation is provided.

Does anyone know if an "official" ESRI Geodatabase schema is published, and where?

Thanks
Tomas
0 Kudos
13 Replies
by Anonymous User
Not applicable
Original User: danielDNL

Hi,

I have more or less the same problem with importing an xml file to the geodatabase (through the ArcCatalog 10)
Every time when I specify the location of my xml file it'll give an error:

Import xml data failed
FDO error: -2147186428 [XML parse error: Unspecified error
[Line: 364, column: 23].]
No object found in this collection      

{translation from polish}

Moreover Im following the official tutorial (http://www.sparxsystems.com/resources/demos/arcgis/arcgis-ea-intro.htm)
and I get the same error..
I have no idea what could be wrong.
Someone knows?

Regards,

Daniel S.
0 Kudos
BenConstable
New Contributor
Hi Tomas and Daniel,

Did you manage to get this issue resolved?

I think there's been a couple of releases of the ArcGIS profile for Enterprise Architect since you first posted here. It may be worth retrying with the latest release (9.3 Build 931). The updated pdf tutorial might be of help as well (http://www.sparxsystems.com/bin/arcgis-enterprise-architect-uml-modeling-tutorial.pdf).

Either way let us know how it went, and we'll try post a solution for others that may have encountered this problem.

Ben
0 Kudos
by Anonymous User
Not applicable
Original User: kwgis

Is this of any use?

XML Schema of the Geodatabase
0 Kudos
OzanEmem
New Contributor II
Hi Tomas and Daniel,

Did you manage to get this issue resolved?

I think there's been a couple of releases of the ArcGIS profile for Enterprise Architect since you first posted here. It may be worth retrying with the latest release (9.3 Build 931). The updated pdf tutorial might be of help as well (http://www.sparxsystems.com/bin/arcgis-enterprise-architect-uml-modeling-tutorial.pdf).

Either way let us know how it went, and we'll try post a solution for others that may have encountered this problem.

Ben


i downloaded that version and having "type mismatch" error when tried to import xml file.
0 Kudos
by Anonymous User
Not applicable
Original User: sparxesri

A further update regarding the original parsing errors: One possible cause of this error is forgetting to set the spatial reference value on a feature dataset. It is explained on pages 13 and 14 of the tutorial:
http://http://www.sparxsystems.com/bin/arcgis-enterprise-architect-uml-modeling-tutorial.pdf

It seems like an easy setting to forget, so I'm hopeful that we'll catch this kind of thing in future via a model validation routine prior to export...

Daniel, Tomas, or anyone else: If you're able to confirm that this worked for you using the EA 9.3, Build 931 or later that would be great.

Ozan: If you could send the sample model and generated output to Sparx Support that would be great. You can send it via:
(for registered users) http://www.sparxsystems.com/registered/reg_bug_report.html

Or

(for trial users) http://www.sparxsystems.com/bug_report.htm

The type mismatch seems to be a different error. One cause of it that we have seen is an empty WKID value in the generated workspace from ArcDiagrammer then importing and re-exporting from EA. There are likely other reasons though.

I hope this helps

Ben
0 Kudos
StephenRichard
New Contributor II
I'm trying to get the Sparx Enterprise Architect extension working as well, using EA 9.3.932, ArcGIS 10.0/3200, Win 7 64 Bit.
I import a geodatabase xml file, and that works just great. Then I try to expor the same model to XML (Extensions/ArcGIS/Export to ArcGIS XML workspace), and the proces gets to XMI Document Export Complete, then stops (green bar at about 75%), and evenutally get EA-UML Deveolopment Tool Has stopped working (Error alert from Windows, 'Windows is checking for solution to problem', then 'a problem scaused the program to stop working correctly...' Close Program')
If I view the xml in the export window, I see a valid-looking XMI file, and it also generates an XMI file at the export location, but of course an ArcGIS workspace XML is not an XMI. Looks to me like there's supposed to be an XSLT to convert the XMI export to the ArcGIS workspace XML and that's where it's breaking.

Anyone else had any success with this?

steve
0 Kudos
by Anonymous User
Not applicable
Original User: Stephen266505

I went through and checked all the ArcGIS properties (including SRS, Field stereotypes etc...) and got my new model to export from EA to generate what looks like proper ArcGIS workspace XML. Now when I try the ArcCatalog import, I'm getting the
"FDO error: -2147186428 [XML parse error: Unspecified error [Liine:3721, column:22].]"  The location is the closing bracket '>' on the closing </WorkspaceDefinition> element.  The workspace xml is XML-valid, but I didn't try to get the schema to check schema validation.


The ArcGIS workspace XML exported from EA is attached.

steve
0 Kudos
StephenRichard
New Contributor II
got it to work.

The spatial reference was missing on the feature dataset
Also, in the EA model before export:
Assigned  dataset IDs to all the feature classes (and the feature dataset)
Rebuild feature classes strictly using the template tools. I had done some copying and pasting in the first iteration, reassigning polygon/polyline/point stereotypes.  This resulted (apparently) in the appearance of TaggedValues for some of the geodatabase properties instead of the properties all showing up in the ArcGIS heading for tagged values.

Not sure what the actual problem was
0 Kudos
by Anonymous User
Not applicable
Original User: xie96

got it to work.

Also, in the EA model before export:
Assigned  dataset IDs to all the feature classes (and the feature dataset)


Great to hear that!

If you do not assigned DSID for every feature dataset or feature class, EA will automatically assign a random number for it.
0 Kudos