Dealing with a set of large XML schemas [message #603427] |
Tue, 11 November 2008 19:08 |
Eclipse User |
|
|
|
I have a set of large XML Schemas that are all in the same
targetNamespace. A subset of the schemas comprise core data types that are
used by all of the other schemas. In attempting to create a genmodel for
all of the schemas in one project, I ran into several issues when
generating the model code. Over 1600 classes are generated and when
compiling the Validator class in the util package, I ran into a 64k method
limit exception. So, I want to divide the schemas into two groups -- one
for core data types and the other for everything else. Ideally, I would
like two separate EMF projects, but one genmodel with two ecore models in
the same project is fine. However, because ecore models appear to be
differentiated by namespace URI, I am unable to do this. Is there a way to
keep everything in the same namespace URI, but create two separate ecore
models that depend on each other and generate code from those into two
separate packages (ultimately creating two factories and two validators,
etc.)?
Thanks,
JT
|
|
|
Powered by
FUDForum. Page generated in 0.03079 seconds