xmlbeans-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kris16 <krister.o.jons...@tietoenator.com>
Subject Error Duplicate attribute group
Date Thu, 14 Dec 2006 07:30:48 GMT

im trying to use xmlbeans together with OAGS 9.0 and their XSD files.
It seems to work fine when I generate the java code for one XSD file,

scomp -verbose -src D:\java\src -out itemmaster.jar

When I try to generate java code from more than one XSD file then I run into
If I add the xsd file "ListItemMaster.xsd" to the command line for scomp the
Java code generation fails.
Probably because both XSD files,GetItemMaster.xsd and ListItemMaster.xsd,
uses the same include files.

scomp -verbose -src D:\java\src2 -out itemmaster.jar

I get the following error when I use:
ListItemMaster.xsd:22:9: error: sch-props-correct.2: Duplicate attribute
group: CodeListAttributeGroup@http://www.openapplications.org/oagis/9
(Original attribute group found in file: GetItemMaster.xsd)

How can I solve this problem ?
Is there a workaround ?
/Regards Krister
View this message in context: http://www.nabble.com/Error-Duplicate-attribute-group-tf2818956.html#a7867963
Sent from the Xml Beans - User mailing list archive at Nabble.com.

To unsubscribe, e-mail: user-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: user-help@xmlbeans.apache.org

View raw message