users@jaxb.java.net

Newbie - Compiling large schemas

From: Hilary Bannister <hilary.bannister_at_eds.com>
Date: Thu, 27 Feb 2003 10:43:35 -0700

We are currently evaluating how good JaxB is for our team to be able to convert xml to java objects and then be able to persist this information to a database. The schema is large, extensively using imports and includes. However just at the compilation stage (xjc) we are getting a lot of errors such as s4s-att-not-allowed errors, src-resolved errors and one cos-element-consistent error.

Is there any documentation anywhere which may explain how to resolve these problems within the schema. One example of a s4s-att-not allowed error is to say that a particular attribute 'form' is not allowed here though when you read the schema documentation it clearly is allowed.

How complicated can a schema be for JaxB v1.0? Should JaxB v1.0 cope with any schema that is validated successfully by XMLSpy?

Apologies if this has been asked but I could not find anything relevant in the archives.

Thanks