Well, there's been some advance, but I'm not getting there yet:
Time to build schema type system: 20.724 seconds
Exception in thread "main"
org.apache.xmlbeans.SchemaTypeLoaderException: Value 37585 out of
range: must fit in a 16-bit short.
(schemaorg_apache_xmlbeans.system.sF71524545A66AF76743DC06881348376.index)
- code 10
at
org.apache.xmlbeans.impl.schema.SchemaTypeSystemImpl$XsbReader.writeShort(SchemaTypeSystemImpl.java:1769)
at
org.apache.xmlbeans.impl.schema.SchemaTypeSystemImpl$XsbReader.writeHandlePool(SchemaTypeSystemImpl.java:1705)
at
org.apache.xmlbeans.impl.schema.SchemaTypeSystemImpl$XsbReader.writeIndexData(SchemaTypeSystemImpl.java:1664)
at
org.apache.xmlbeans.impl.schema.SchemaTypeSystemImpl.saveIndex(SchemaTypeSystemImpl.java:322)
at
org.apache.xmlbeans.impl.schema.SchemaTypeSystemImpl.save(SchemaTypeSystemImpl.java:1304)
at
org.apache.xmlbeans.impl.tool.SchemaCompiler.compile(SchemaCompiler.java:1098)
at
org.apache.xmlbeans.impl.tool.SchemaCompiler.main(SchemaCompiler.java:368)
Seems like I'm running into a limit here because of the size of my schema.
Is there anything to do?
Thanks for your help,
Alex
On 1/2/06, Radu Preotiuc-Pietro <[EMAIL PROTECTED]> wrote:
> I have just added a new entry to the FAQ:
> http://wiki.apache.org/xmlbeans/XmlBeansV1Faq#scompOutOfMemory
> Can you please check it out and see if that solves your problem?
>
> Thanks,
> Radu
>
> -----Original Message-----
> From: Alejandro Escalante Medina [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, December 28, 2005 5:01 PM
> To: [email protected]
> Subject: Problems with highly recursive schema
>
>
> Hi to everyone. I'm doing some tests to migrate our current JAXB based
> serialzer to XMLBeans, but I'm running into a bit of problem. Or actually a
> lot.
>
> We seem to have a very recursive schema, which simply blows scomp away with
> OutOfMemory errors. It is a complex schema and maybe not extremely well
> designed since this is its first version.
>
> We need XMLBeans for its support of the full infoset (we need to preserve
> comments when doing round-trip of the xml files).
>
> Is there anything you might suggest about this?
>
> I'm trying XMLBeans 2.1, BTW.
>
> Thanks in advance,
>
> --
> Alejandro Escalante Medina
> Visita mi página personal en http://weblocked.blogsome.com/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]