users@jaxb.java.net

xjc problems with Collada schema....

From: Paul Byrne <Paul.Byrne_at_Sun.COM>
Date: Mon, 12 Mar 2007 09:14:03 -0700

Hi,

I'm getting errors from xjc on the following schema
http://www.khronos.org/files/collada_schema_1_4

I'm using xjc 2.0.2. The errors are

paulby_at_lg3d-laptop /cygdrive/c/paulby/code/java_net/lg3d/trunk/collada
$ jaxb-ri-20060801/bin/xjc.sh -p test collada_schema_1_4_1.xsd
parsing a schema...
[ERROR] Property "Source" is already defined.
 line 2671 of
file:/C:/paulby/code/java_net/lg3d/trunk/collada/collada_schema_1
_4_1.xsd

[ERROR] The following location is relevant to the above error
 line 2761 of
file:/C:/paulby/code/java_net/lg3d/trunk/collada/collada_schema_1
_4_1.xsd

[ERROR] Property "Source" is already defined.
 line 2780 of
file:/C:/paulby/code/java_net/lg3d/trunk/collada/collada_schema_1
_4_1.xsd

[ERROR] The following location is relevant to the above error
 line 2829 of
file:/C:/paulby/code/java_net/lg3d/trunk/collada/collada_schema_1
_4_1.xsd

Failed to parse a schema.

I ran the schema through the checkers in Netbeans and it passed without
issue. Any suggestions greatly appreciated (please cc me directly as I'm
not sure my subscription to this list has been processed yet).

Rgds

Paul