You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xmlbeans.apache.org by "Jacob Danner (JIRA)" <xm...@xml.apache.org> on 2007/03/09 11:43:26 UTC

[jira] Resolved: (XMLBEANS-307) XMLBeans scomp throws error "code too large"

     [ https://issues.apache.org/jira/browse/XMLBEANS-307?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacob Danner resolved XMLBEANS-307.
-----------------------------------

    Resolution: Fixed
      Assignee: Radu Preotiuc-Pietro

Please check out my patch, I think it works around the issue.
The error occurs whenever the enum value is > 3668.

> 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
>         Assigned To: Radu Preotiuc-Pietro
>            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