Book a Demo

Author Topic: Generate XSD does not recurse packages  (Read 2706 times)

pmcevoy

  • EA Novice
  • *
  • Posts: 8
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Generate XSD does not recurse packages
« on: February 01, 2006, 07:06:18 am »
Another one for you...   (I hope you don't mind, I'm only reporting my user experience - you can take it or leave it)..

- I transform a package, with a bunch of nested packages into a XSD platform specific model.
- In the output package, my data model package hierarchy gets flattened (no problem).
- In order to generate XSD from this PSM, I need to right-click on every individual package and select "Generate XML Schema.."

My issue is that I would really like to set the output XSD files once for each package, and in subsequent "regenerations", I'd love to be able to select "Generate Schema..." on the parent package to regenerate all..  At the moment, selecting "Generate..." on the parent package does not recurse in to the child packages.

Cheers
Pete

Denis Avdonin

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: Generate XSD does not recurse packages
« Reply #1 on: April 16, 2007, 02:07:06 am »
Hi Pete,

Did you find a solution to this problem?

We have the same issue and ideally would like to generate one XSD file from the whole package hierarchy. I.e. when selecting "Generate XML schema..." at a package level, I would expect all child packages to contribute their classes into the resulting XSD. Is it possible to achieve in EA?

Thanks,
Denis

salayande

  • EA User
  • **
  • Posts: 224
  • Karma: +0/-0
  • I love YaBB 1 Gold!
    • View Profile
Re: Generate XSD does not recurse packages
« Reply #2 on: April 16, 2007, 11:30:04 am »
Hi guys,

This is definitely a show stopper on large projects as the need to handle individual packages makes large document design hard work.

I had a similar issue but I put it to my inexperience.

salayande

Denis Avdonin

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: Generate XSD does not recurse packages
« Reply #3 on: April 16, 2007, 12:56:35 pm »
>  This is definitely a show stopper on large projects

Indeed. We only have a dozen of packages and already finding it difficult to manage as we need to re-generate the XSDs frequently. As the model evolves, we are expecting to have a few dozens of packages and at that stage generating a file per package is not going to be feasible at all.