Author Topic: Importing XML Schema (XSD)  (Read 5563 times)

Ian Turner

  • EA Novice
  • *
  • Posts: 15
  • Karma: +0/-0
  • Crumbs Chief!
    • View Profile
Importing XML Schema (XSD)
« on: April 15, 2004, 04:46:23 am »
Hi,

Does anyone know whether EA can reverse-engineer XSD? I know you can generate XSD from a package so I was expecting to be able to go the other way.

Haven't found anything yet, though...

Cheers
Ian

benc

  • EA Administrator
  • EA User
  • *****
  • Posts: 200
  • Karma: +0/-0
    • View Profile
Re: Importing XML Schema (XSD)
« Reply #1 on: April 22, 2004, 05:25:16 pm »
Hi Ian,

EA does not currently reverse XSD. We're planning to implement this feature over the next 12 months.

Regards,
Ben

DamonCarr

  • EA Novice
  • *
  • Posts: 16
  • Karma: +0/-0
    • View Profile
Re: Importing XML Schema (XSD)
« Reply #2 on: June 23, 2004, 07:55:01 am »
Thanks for the update. I emailed Geoffrey about this. I want to reverse engineer Typed Dataset XSDs from the .NET platform (ADO.NET).

I am happy to help in building this. I suppose I would need to go from XSD to XMI and then import the XMI... That could be an XSLT transform perhaps.

Something to think about..Right now I can use the integrated VS 2003 XSD editer to do this but I am trying to get clients of mine to use Sparx in more and ore ways.

I have built an add-in to Visual Studio 2003 that generates typed datasets and includes the 'Annotations'
feature which helps... I generate these from .NET providers using a little known fetaure of the IdbAdapter to fill another DataSet with just schema info, the write that DS out using the method that writes out the schema (XSD). I then manipulate the XSD to add the annotations (for names and null handling).

Kind Regards,

Damon
agilefactor


http://www.agilefactor.com/


Voice: 212.374.9359
Fax: 212.859.7359

Question to David Parnas, ACM Fellow: What are the most exciting, promising software engineering ideas or techniques on the horizon?

His Answer: I don’t that the most promising ideas are on the horizon. They are already here, and have been for years, but are not being used properly.


"...it is almost always incorrect to begin the decomposition of a system into modules on the basis of a flowchart. We propose instead that one begins with a list of difficult design decisions or design decisions which are likely to change. Each module is then designed to hide such a decision from the others."
Thanks,

Damon Carr, Chief Technologist
agilefactor
http://damon.agilefactor.com

tore

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Re: Importing XML Schema (XSD)
« Reply #3 on: October 17, 2004, 06:43:24 am »
Yes please, reverse engineering of xsd is very much needed, together with BPEL support. The world is moving faster and faster into a world of web services

btinsley

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: Importing XML Schema (XSD)
« Reply #4 on: April 27, 2005, 07:13:10 am »
Quote
Hi Ian,

EA does not currently reverse XSD. We're planning to implement this feature over the next 12 months.

Regards,
Ben


This was posted a year ago.  So has the ability to reverse engineer XSD schemas arrived yet, or planned to arrive very soon.

thomaskilian

  • Guest
Re: Importing XML Schema (XSD)
« Reply #5 on: April 27, 2005, 07:37:21 am »
Ben wisely spoke about Implement not Release ;)

But no - I also hope this will be available soon :)

TyreeJackson

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: Importing XML Schema (XSD)
« Reply #6 on: June 29, 2005, 09:20:33 am »
Does anyone know if any progress has been made regarding the ability to import from an XSD?

Also, on a related note (this may actually be 2 separate issues):

I am trying to export a data model from EA to an XSD that Visual Studio.Net can use to compile a typed dataset from.  Unfortunately, it appears that VS.Net does not like the XSD that EA generates.  I am getting the following error:

"The designer encountered the following error while loading the XSD document into a dataset: the same table (CreoSystemList) cannot be the child table in two nested relations"

I've looked through the XSD source, and noticed that I don't see any relationship column information (Primary Key column to Foriegn Key column relationship) in the file.  The only relationship information are "element" tags containing a "ref" attribute linking two tables together, but no specification of which columns of the two tables are linked.

Does anyone know if there is any special step that I need to take in EA to ensure that the relationship information is properly included in the XSD?

Tyree Jackson
« Last Edit: June 29, 2005, 09:22:34 am by TyreeJackson »

stcinifeic

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
  • I have to go design whatever i did now
    • View Profile
Re: Importing XML Schema (XSD)
« Reply #7 on: October 12, 2005, 05:38:27 am »
So?

Can we import xsd yet?

Oliver Michalski

  • EA User
  • **
  • Posts: 116
  • Karma: +0/-0
    • View Profile
Re: Importing XML Schema (XSD)
« Reply #8 on: October 12, 2005, 08:35:26 am »
The answer is no. The reverse engineering feature is planned for version 6 from EA (comming soon)

Oliver  ;)