Return-Path: Delivered-To: apmail-xmlbeans-user-archive@www.apache.org Received: (qmail 91021 invoked from network); 14 Dec 2006 07:31:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 Dec 2006 07:31:14 -0000 Received: (qmail 43354 invoked by uid 500); 14 Dec 2006 07:31:21 -0000 Delivered-To: apmail-xmlbeans-user-archive@xmlbeans.apache.org Received: (qmail 43332 invoked by uid 500); 14 Dec 2006 07:31:20 -0000 Mailing-List: contact user-help@xmlbeans.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: Reply-To: user@xmlbeans.apache.org List-Id: Delivered-To: mailing list user@xmlbeans.apache.org Received: (qmail 43321 invoked by uid 99); 14 Dec 2006 07:31:20 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Dec 2006 23:31:20 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of lists@nabble.com designates 72.21.53.35 as permitted sender) Received: from [72.21.53.35] (HELO talk.nabble.com) (72.21.53.35) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Dec 2006 23:31:09 -0800 Received: from [72.21.53.38] (helo=jubjub.nabble.com) by talk.nabble.com with esmtp (Exim 4.50) id 1Gul3I-0007Z2-Ih for user@xmlbeans.apache.org; Wed, 13 Dec 2006 23:30:48 -0800 Message-ID: <7867963.post@talk.nabble.com> Date: Wed, 13 Dec 2006 23:30:48 -0800 (PST) From: kris16 To: user@xmlbeans.apache.org Subject: Error Duplicate attribute group MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: krister.o.jonsson@tietoenator.com X-Virus-Checked: Checked by ClamAV on apache.org Hi, 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, GetItemMaster.xsd. scomp -verbose -src D:\java\src -out itemmaster.jar D:\temp\oagis-release-9_0-XSD-GA\OAGIS\9.0\BODs\Standalone\GetItemMaster.xsd When I try to generate java code from more than one XSD file then I run into trubble. 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 D:\temp\oagis-release-9_0-XSD-GA\OAGIS\9.0\BODs\Standalone\GetItemMaster.xsd D:\temp\oagis-release-9_0-XSD-GA\OAGIS\9.0\BODs\Standalone\ListItemMaster.xsd 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