Actually, can I please ask you to open a new issue and attach a stripped
down version of the XML schema in question.

Regards
Werner 

> -----Original Message-----
> From: Werner Guttmann [mailto:[EMAIL PROTECTED] 
> Sent: Dienstag, 28. November 2006 13:16
> To: [email protected]
> Subject: RE: [castor-user] Static Initializer is exceeding 
> the 65535 bytes limit
> 
> 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
> 
> 

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to