Return-Path: Delivered-To: apmail-xmlbeans-dev-archive@www.apache.org Received: (qmail 45545 invoked from network); 9 Mar 2007 10:46:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 Mar 2007 10:46:50 -0000 Received: (qmail 70289 invoked by uid 500); 9 Mar 2007 10:46:59 -0000 Delivered-To: apmail-xmlbeans-dev-archive@xmlbeans.apache.org Received: (qmail 70101 invoked by uid 500); 9 Mar 2007 10:46:58 -0000 Mailing-List: contact dev-help@xmlbeans.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: Reply-To: dev@xmlbeans.apache.org List-Id: Delivered-To: mailing list dev@xmlbeans.apache.org Received: (qmail 70085 invoked by uid 500); 9 Mar 2007 10:46:58 -0000 Delivered-To: apmail-xml-xmlbeans-dev@xml.apache.org Received: (qmail 70079 invoked by uid 99); 9 Mar 2007 10:46:58 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Mar 2007 02:46:58 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Mar 2007 02:41:48 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id F2668714080 for ; Fri, 9 Mar 2007 02:41:25 -0800 (PST) Message-ID: <24870559.1173436885990.JavaMail.root@brutus> Date: Fri, 9 Mar 2007 02:41:25 -0800 (PST) From: "Jacob Danner (JIRA)" To: xmlbeans-dev@xml.apache.org Subject: [jira] Updated: (XMLBEANS-307) XMLBeans scomp throws error "code too large" In-Reply-To: <23750306.1167764489234.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/XMLBEANS-307?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jacob Danner updated XMLBEANS-307: ---------------------------------- Attachment: xmlbeans_307_patch.diff I think I've got a workaround for this issue in the attached patch. I've attached a unit test also and have verified compilation of both sets of schemas mentions in this issue (niem && jxdm). > XMLBeans scomp throws error "code too large" > -------------------------------------------- > > Key: XMLBEANS-307 > URL: https://issues.apache.org/jira/browse/XMLBEANS-307 > Project: XMLBeans > Issue Type: Bug > Components: Compiler > Affects Versions: Version 1.0.4 > Environment: Window XP Service pack 2 > Reporter: Harish K Swamy > Priority: Minor > Fix For: Version 2.2 > > Attachments: xmlbeans_307_patch.diff > > > I am trying to run scomp on my schema which import many other schema's. Out of many schema's one of them is having a size of 1.6 MB. > Below is the error I get when i run scomp. It would be very much helpful if somebody gives me resolution for this problem. > Thanks in advance > Harish > C:\xmlbeans-2.2.0\bin>scomp -out C:\WantedMissingInquiry\WantedMissingInquiryResponseIEPD\XMLSchemas\test.jar C:\WantedMissingInqui > ry\WantedMissingInquiryResponseIEPD\XMLSchemas\NYSMessage.xsd > Time to build schema type system: 2.875 seconds > Time to generate code: 8.015 seconds > C:\DOCUME~1\hswamy\LOCALS~1\Temp\xbean8664.d\src\gov\niem\niem\ncic2000\x10\VMACodeSimpleType.java:15268: code too large > public static final org.apache.xmlbeans.StringEnumAbstractBase.Table table = > ^ > 1 error > BUILD FAILED -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@xmlbeans.apache.org For additional commands, e-mail: dev-help@xmlbeans.apache.org