[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xmlbeans-dev
Subject:    [jira] Commented: (XMLBEANS-307) XMLBeans scomp throws error "code
From:       "Andrew Fuentes (JIRA)" <xmlbeans-dev () xml ! apache ! org>
Date:       2007-01-26 6:40:49
Message-ID: 14636677.1169793649272.JavaMail.jira () brutus
[Download RAW message or body]


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

Andrew Fuentes commented on XMLBEANS-307:
-----------------------------------------

I'm getting the same problems as Harry. I think I may know why. We both are using the \
NIEM (National Information Exchange Model) schemas. Some can get quite large \
depending on the one you want to compile because many are imports of other schemas in \
the framework.

Anyways, what might help you whoever has the task to fix the problem is actually \
downloading the NIEM from their web site. It is publicly available to download at \
www.niem.gov. If you download it get 1.0 with docs. It comes packaged as a zip file. \
I'm recommending you get the docs because it describes the architecture of the model. \
It may help with the testing and debugging. A lot of good technical advice is coming \
from the GJXDM (Global Justice XML folks and directing us to XMLBeans for development \
solutions.

If you really want to stress test XMLBeans it may be helpful the use both NIEM and \
GJXDM. You can also download GJXDM publicly at http://www.it.ojp.gov/jxdm/.

I hope this helps,
Andrew

> 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
> 
> 
> 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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic