W3C home > Mailing lists > Public > xmlschema-dev@w3.org > May 2011

Re: looking for a tool that will split an xsd file containing several complexTypes into separate files

From: Andy Davidson <andy_davidson@apple.com>
Date: Thu, 26 May 2011 15:21:42 -0700
Cc: xmlschema-dev@w3.org
Message-id: <BCDA1C93-76FC-43C6-ACEF-BD34E19FCEB6@apple.com>
To: Andy Davidson <andy_davidson@apple.com>

On May 26, 2011, at 3:13 PM, Andy Davidson wrote:

> Hi 
> I have strange problem. Our XSD files are very long. They typically contain a couple of root elements, complexTypes, and simpleTypes. We wrote a code generated that creates a set of OBJC Model class from the XSD. Its similar to JAXB's xjc. Anyway for our build process to run correctly each rootElement, simpleType, and complexType needs to be defined in a separate file.
> It is not possible for us to change our build environment, our core IDE can not figure out how to compile the generated ObjC models if their is not a 1:1 correspondence with a XSD file. The easiest and obvious thing to do would be to re-factor the XSD files manually how ever this solution is not politically acceptable
> Does anyone know of a tool that will split the XSD types into separate files?

should have been "using XSLT would be tricky"

> I think doing this would be tricky, I am not sure how you would correctly generated the required include and import elements
> thanks
> Andy
Received on Thursday, 26 May 2011 22:22:22 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:15:59 UTC