+ Reply to Thread
Results 1 to 13 of 13

Thread: Location of a Geodatabase XML Schema Document?

  1. #1
    Tomas Lindberg
    Join Date
    Sep 2010
    Posts
    5
    Points
    0
    Answers Provided
    0


    0

    Default Location of a Geodatabase XML Schema Document?

    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
    Tomas Lindberg
    Geological Survey of Sweden

  2. #2
    Daniel Starczewski
    Join Date
    Jan 2012
    Posts
    3
    Points
    0
    Answers Provided
    0


    0

    Default Re: Location of a Geodatabase XML Schema Document?

    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/resource...s-ea-intro.htm)
    and I get the same error..
    I have no idea what could be wrong.
    Someone knows?

    Regards,

    Daniel S.
    Last edited by danielDNL; 01-31-2012 at 06:25 AM.

  3. #3
    Ben Constable
    Join Date
    Nov 2010
    Posts
    7
    Points
    1
    Answers Provided
    0


    0

    Default Re: Location of a Geodatabase XML Schema Document?

    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/arcg...g-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

  4. #4
    Karl Wilson
    Join Date
    Oct 2010
    Posts
    151
    Points
    24
    Answers Provided
    0


    0

    Question Re: Location of a Geodatabase XML Schema Document?

    Is this of any use?

    XML Schema of the Geodatabase

  5. #5
    Ozan Emem
    Join Date
    Jun 2010
    Posts
    13
    Points
    0
    Answers Provided
    0


    0

    Default Re: Location of a Geodatabase XML Schema Document?

    Quote Originally Posted by sparxesri View Post
    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/arcg...g-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.

  6. #6
    Ben Constable
    Join Date
    Nov 2010
    Posts
    7
    Points
    1
    Answers Provided
    0


    1

    Default Re: Location of a Geodatabase XML Schema Document?

    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/b...g-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/register...ug_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

  7. #7
    Stephen Richard
    Join Date
    Aug 2011
    Posts
    5
    Points
    0
    Answers Provided
    0


    0

    Default Re: Location of a Geodatabase XML Schema Document?

    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

  8. #8
    Stephen Richard
    Join Date
    Aug 2011
    Posts
    5
    Points
    0
    Answers Provided
    0


    0

    Default Re: Location of a Geodatabase XML Schema Document?

    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
    Attached Files

  9. #9
    Stephen Richard
    Join Date
    Aug 2011
    Posts
    5
    Points
    0
    Answers Provided
    0


    0

    Smile Re: Location of a Geodatabase XML Schema Document?

    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

  10. #10

    Join Date
    May 2012
    Posts
    1
    Points
    0
    Answers Provided
    0


    0

    Default Re: Location of a Geodatabase XML Schema Document?

    Quote Originally Posted by Stephen266505 View Post
    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.

  11. #11
    Ben Constable
    Join Date
    Nov 2010
    Posts
    7
    Points
    1
    Answers Provided
    0


    0

    Default Re: Location of a Geodatabase XML Schema Document?

    Quote Originally Posted by Stephen266505 View Post
    The spatial reference was missing on the feature dataset
    ...
    I had done some copying and pasting in the first iteration, reassigning polygon/polyline/point stereotypes.
    Hi Stephen,

    Setting the spatial reference info is a step I forget at least every second time I create an arcgis model. Fortunately, implementing an arcgis model validation routine is on Sparx's to do list, so we'll get a reminder in future...

    Regarding the switch between feature class stereotypes, it's probably easier currently to create a new element of the desired stereotype and drag across whatever fields etc. you have in the old element. Otherwise there's a bit of manual tweaking of tagged values to get it right. It would be nice to have a conversion function say from the ArcGIS extension menu. Hopefully we'll see something like that in a future release.

    Regards,
    Ben

  12. 01-23-2013 05:57 PM


  13. #12
    Rodolfo Moreno
    Join Date
    Apr 2012
    Posts
    11
    Points
    0
    Answers Provided
    0


    0

    Default Re: Location of a Geodatabase XML Schema Document?

    Hi All,
    I have EA 9.3.935 and I have created a ArcGIS model. I exported this model and next I try to import with ArcCatalog 10.1 and I get "Import xml data failed" message. I supposse that EA 9.3.935 does not work with ArcGIS 10.1. If so which EA version should I have ?. Thanks in advance.

  14. #13
    Ben Constable
    Join Date
    Nov 2010
    Posts
    7
    Points
    1
    Answers Provided
    0


    0

    Default Re: Location of a Geodatabase XML Schema Document?

    This is a late follow-up to Rodolfo's post, but hopefully will be of help to others in the same situation...

    The current version of Enterprise Architect is 10.0.1009. This works with ArcGIS 10.2 (and should be compatible with ArcGIS 10.1 and 10.0). I'd recommend using Enterprise Architect 10.0.1009 if possible.

    Likely of interest to Rodolfo and others that posted to this thread is Enterprise Architect's model validation script for ArcGIS / UML models. The script and instructions are available from:
    http://www.sparxsystems.com/arcgis/m...alidation.html

    It performs quite a detailed analysis of the modeled schema, starting from the Workspace package down. It will find the common modeling errors and report things like missing spatial references etc.

    Also, look out for the next minor release of Enterprise Architect (10.0.1010). It will include numerous enhancements for ArcGIS modeling. The model validation capability will also be included in the installer, rather than requiring a script be separately downloaded.

    Regards,
    Ben

+ Reply to Thread

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts