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

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:13:59 -0700
Message-id: <DA6ED69A-7B50-4674-8B5E-F8AA3DBAA54D@apple.com>
To: xmlschema-dev@w3.org

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?

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:14:27 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 26 May 2011 22:14:29 GMT