dev@jaxb.java.net

Re: Generating classes from XCRI schema - "[ERROR] 'lang' is already defined" + others

From: mjw <matthew.willard_at_softwarecontractservices.com>
Date: Mon, 1 Dec 2008 09:01:42 -0800 (PST)

Still haven't found a way around this problem.

Started using XMLBeans but that won't be any good because I need to persist
the classes into a database using JPA. JPA requires a no argument
constructor but XMLBeans generated classes can be instantiated only through
a factory.

I think the errors shown in my original posting are specifically to do with
the schema. I have had no luck finding information about the errors
elsewhere. This is not a JAXB problem, even though it occurs with JAXB and
not XMLBeans.

Time's running out and I am still stuck... all help appreciated!

Could someone look at the schema and tell me why those name conflicts occur?
-- 
View this message in context: http://www.nabble.com/Generating-classes-from-XCRI-schema---%22-ERROR--%27lang%27-is-already-defined%22-%2B-others-tp20365204p20774518.html
Sent from the java.net - jaxb dev mailing list archive at Nabble.com.