Hi,
I am trying to compile a schema from the OASIS document format DITA that
can be found here:
http://docs.oasis-open.org/dita/v1.1/CS01/schema/ditaschema.zip
Unfortunately, I get an error even if I use the simple binding mode
described here:
http://weblogs.java.net/blog/kohsuke/archive/2006/03/simple_and_bett.html
C:\JAXB\jaxb-ri-20090206\bin>xjc -extension simpleMode.xsd
c:\JAXB\ditaschema\topic.xsd
parsing a schema...
[ERROR] Property "Alt" is already defined. Use <jaxb:property> to
resolve this conflict.
line 28 of file:/C:/JAXB/ditaschema/commonElementGrp.xsd
[ERROR] The following location is relevant to the above error
line 1566 of file:/C:/JAXB/ditaschema/commonElementMod.xsd
Failed to parse a schema.
Without the simple binding mode, I get even more errors:
C:\JAXB\jaxb-ri-20090206\bin>xjc -extension c:\JAXB\ditaschema\topic.xsd
parsing a schema...
[ERROR] Element "data" shows up in more than one properties.
line 2072 of file:/C:/JAXB/ditaschema/commonElementMod.xsd
[ERROR] The following location is relevant to the above error
line 46 of file:/C:/JAXB/ditaschema/commonElementGrp.xsd
[ERROR] Property "Alt" is already defined. Use <jaxb:property> to
resolve this conflict.
line 28 of file:/C:/JAXB/ditaschema/commonElementGrp.xsd
[ERROR] The following location is relevant to the above error
line 1566 of file:/C:/JAXB/ditaschema/commonElementMod.xsd
[ERROR] Property "Audience" is already defined. Use <jaxb:property>
to resolve this conflict.
line 433 of file:/C:/JAXB/ditaschema/topicMod.xsd
[ERROR] The following location is relevant to the above error
line 2225 of file:/C:/JAXB/ditaschema/commonElementMod.xsd
Failed to parse a schema.
Is there anything else I can do to compile the schema?
Thanks for any help,
M.S.