Tahnks, Quince. Can I still ask you to create a Jira issue and copy all relevant information into the issue ?
TIA Werner > -----Original Message----- > From: Quince Wilson [mailto:[EMAIL PROTECTED] > Sent: Dienstag, 28. November 2006 14:26 > To: [email protected] > Subject: RE: [castor-user] Static Initializer is exceeding > the 65535 bytes limit > > Werner, > > Using the link below download the > jxdm-3.0.3.zip archive. In that archive there will be > > a jxdm-3.0.3/jxdm/ncic_2000/1.0.2/ncic_2000.xsd file. > This file name is used twice in this archive, the relevant > file is 3.4MB in size. The element in question is VMAType > and starts at line 55,693. > > Thanks for looking into this. > Quince > > > --- Werner Guttmann <[EMAIL PROTECTED]> wrote: > > > Quince, > > > > it looks like this happens with enums only, as this is the > only time > > that the code generator generates a static initializer. Can > you please > > point me to the relevant XML schema which contains the type > definition > > ? > > > > > > Werner > > > > > -----Original Message----- > > > From: Quince Wilson [mailto:[EMAIL PROTECTED] > > > > > Sent: Montag, 27. November 2006 20:51 > > > To: [email protected] > > > Subject: [castor-user] Static Initializer is > > exceeding the > > > 65535 bytes limit > > > > > > Hi, > > > > > > I am using Castor SourceGenerator (version 1.0.2) > > to generate > > > some java files and get an error when trying to > > compile the > > > generated java files: > > > > > > "The code for the static initializer is exceeding > > the > > > 65535 bytes limit" > > > > > > I have tried version 1.0.5 but jira-1659 is > > preventing me > > > from moving forward on this version. > > > > > > The .xsd defintions are very very large which > > seems to be the > > > cause of the error. The xsd is located at: > > > http://www.it.ojp.gov/jxdm/3.0.3/index.html > > > if you want to look at it. > > > > > > There are a few other errors generated but they > > are easily > > > tracked down and repaired, one was the wrong > > return type and > > > the others where imports. The imports are with GyearDescriptor, > > > GMonthDescriptor, > > DurationDescriptor, > > > DateDescriptor using String vs java.lang.String. > > > > > > There are 11102 static types defined by the > > generator plus > > > the init() method, which is to large to be > > initialized. > > > > > > Does anyone have any suggestions or ideas on a > > good way to > > > resolve the compile error? > > > > > > I have tried moving the init() to be called from > > an intance > > > vs static initialization but it still complains. > > > > > > > > > Thanks > > > Quince > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ______________________________________________________________ > > > ______________________ > > > Yahoo! Music Unlimited > > > Access over 1 million songs. > > > http://music.yahoo.com/unlimited > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe from this list please visit: > > > > > > http://xircles.codehaus.org/manage_email > > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe from this list please visit: > > > > http://xircles.codehaus.org/manage_email > > > > > > > > > ______________________________________________________________ > ______________________ > Do you Yahoo!? > Everyone is raving about the all-new Yahoo! Mail beta. > http://new.mail.yahoo.com > > --------------------------------------------------------------------- > To unsubscribe from this list please visit: > > http://xircles.codehaus.org/manage_email > > --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email

