SchemaTypeLoaderException "Too Many Strings" while writing inde.xsb file
------------------------------------------------------------------------
Key: XMLBEANS-323
URL: https://issues.apache.org/jira/browse/XMLBEANS-323
Project: XMLBeans
Issue Type: Improvement
Affects Versions: Version 2.1
Environment: Windows XP SP2
Reporter: Kyle Yin
While trying to build a project containing a large number of schemas, XMLBeans
throws SchemaTypeLoaderException with the error message "Too many Strings
(46252) ... index .... code 10".
After a quick glance at SchemaTypeSystemImpl.StringPool, the error message
seems to be caused by the project having more schema element types than the
hardcoded upper limit Short.MAX_VALUE, which is rough 32k.
Could someone please kindly clarify for me:
1. What is the significant of Short.MAX_VALUE ? Why Short.MAX_VALUE instead
of something like Integer.MAX_VALUE?
2. Is it reasonable to ask for an increase in this upper limit?
3. Apart from splitting up my project into smaller modules with fewer element
types, is there any other work-around solution for now?
Thanks!
--
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]