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=3901>.
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=3901

Stack overflow on large maxOccurs

           Summary: Stack overflow on large maxOccurs
           Product: Xerces-J
           Version: 1.4.3
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Schema-Structures
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


I am getting a stack overflow error when maxOccurs is more than 22000 or so on 
an element (within a sequence group in a complex type).  It seems like it's OK 
to have a limit on what is supported by Xerces, but it should at least be 
documented.

  <xsd:complexType name="test">
    <xsd:sequence>
        <xsd:element name="x" minOccurs="0" maxOccurs="22000"/>
    </xsd:sequence>
  </xsd:complexType>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to