|
|
Re: Generating EMF from advanced XSDs [message #622376 is a reply to message #622368] |
Tue, 23 March 2010 14:08 |
Ed Merks Messages: 33218 Registered: July 2009 |
Senior Member |
|
|
Igor,
Comments below.
Igor Jacy Lino Campista wrote:
> Hello EMF experts,
>
> A challenging one.
>
> I have spent quite a lot of time trying to generate a high quality
> ECORE file out of the technical documentation DITA schemas
> (XSDs). XSD -> ECore
>
>
> The DITA XSD set comes in two flavors: one with relative path
> dependencies, and the other simplified by using Apache Catalog
> Resolver (1st time I heard of it).
>
>
> A zip file containing the XSD defintions is here:
>
> http://www.oasis-open.org/committees/download.php/36335/xsd1 .2-20100209.zip
>
>
>
> Some questions arises:
>
> How can I make the apache catalog based XSDs be resolved by the Ecore
> generator ?
>
> What best and simple strategy can I use to generate a good ecore file
> from the XSDs when there are too many dependencies? (Trying to do
> XSD -> Ecore from the set of XSDs that have relative dependencies is
> not working)
>
>
>
> For the set of XSDs using apache catalog URLs, here is a snippet from
> the file technicalContent\xsd\topic.xsd
>
> <xs:include
> schemaLocation="urn:oasis:names:tc:dita:xsd:metaDeclMod.xsd:1.2 "/>
>
> The last question: Is there a way to generate the XSD mapping to
> Ecore from such an XSD structure?
Why aren't you using the schemas with relative references? Those should
just work.
>
>
> Thanks in advance,
> Igor
>
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.05254 seconds