DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4557>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4557 Stack overflow if maxOccurs = 4096 Summary: Stack overflow if maxOccurs = 4096 Product: Xerces-J Version: 1.4.2 Platform: PC OS/Version: Windows NT/2K Status: NEW Severity: Critical Priority: Other Component: Schema-Datatypes AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] I had a line as follows in my schema: <xsd:element name="key" type="keyType" minOccurs="0" maxOccurs="4096"/> For this I get the following exception: The exception goes away if I reduce the maxOccurs to say 3072. Also I get no exception if I make maxOccurs="unbound". Is there a limit to the number of maxOccurs?? java.lang.StackOverflowError at org.apache.xerces.validators.schema.TraverseSchema.findAndCreateElements (TraverseSchema.java:8184) at org.apache.xerces.validators.schema.TraverseSchema.findAndCreateElements (TraverseSchema.java:8184) at org.apache.xerces.validators.schema.TraverseSchema.findAndCreateElements (TraverseSchema.java:8184) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
