xnsdoc - Bug-23
Description
When processing a local defined complex type that extends the containing named global complex type, a StackOverflowError occurs.
Comments
The following schema reproduces the problem.
<?xml version = "1.0" encoding = "UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:complexType name="testType">
<xs:sequence>
<xs:element name="foo">
<xs:complexType>
<xs:complexContent>
<xs:extension base="testType">
<xs:attribute name="bar" type="xs:string"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:schema>Output:
xnsdoc starting licensed to buldocs Ltd. null xnsdoc finished. java.lang.StackOverflowError





