You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by ne...@apache.org on 2001/10/12 20:30:44 UTC
cvs commit: xml-xerces/java/docs schema.xml
neilg 01/10/12 11:30:44
Modified: java/docs Tag: xerces_j_1 schema.xml
Log:
finally point out limitation wrt large values of {min|max}Occurs in the schema documentation.
Revision Changes Path
No revision
No revision
1.24.2.1 +8 -0 xml-xerces/java/docs/Attic/schema.xml
Index: schema.xml
===================================================================
RCS file: /home/cvs/xml-xerces/java/docs/Attic/schema.xml,v
retrieving revision 1.24
retrieving revision 1.24.2.1
diff -u -r1.24 -r1.24.2.1
--- schema.xml 2001/06/21 21:17:56 1.24
+++ schema.xml 2001/10/12 18:30:44 1.24.2.1
@@ -45,6 +45,14 @@
<li> year and seconds values in date/time datatypes are limited to the
value 2147483647. Items larger than this limit will not be validated
correctly. </li>
+ <li>Due to the way in which the parser constructs content
+ models for elements with complex content, specifying large
+ values for the <code>minOccurs</code> or <code>maxOccurs</code>
+ attributes may cause the parser to throw a
+ <code>StackOverflowError</code>. Large values for
+ <code>minOccurs</code> should be avoided, and
+ <code>unbounded</code> should be used instead of a large value
+ for <code>maxOccurs</code>.</li>
</ul>
</s2>
<s2 title='Problem Areas/Known Bugs'>
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org