XMLBeans
  1. XMLBeans
  2. XMLBEANS-307

XMLBeans scomp throws error "code too large"

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: Version 1.0.4
    • Fix Version/s: Version 2.2
    • Component/s: Compiler
    • Labels:
      None
    • Environment:
      Window XP Service pack 2

      Description

      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

        Activity

        Harish K Swamy created issue -
        Jacob Danner made changes -
        Field Original Value New Value
        Issue Type Wish [ 5 ] Bug [ 1 ]
        Priority Major [ 3 ] Minor [ 4 ]
        Component/s Compiler [ 10722 ]
        Jacob Danner made changes -
        Attachment xmlbeans_307_patch.diff [ 12352968 ]
        Jacob Danner made changes -
        Resolution Fixed [ 1 ]
        Status Open [ 1 ] Resolved [ 5 ]
        Assignee Radu Preotiuc-Pietro [ radup ]
        Jacob Danner made changes -
        Attachment xmlbeans_307_patch.diff [ 12352968 ]
        Jacob Danner made changes -
        Attachment xmlbeans_307_patch.diff [ 12356361 ]

          People

          • Assignee:
            Radu Preotiuc-Pietro
            Reporter:
            Harish K Swamy
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development