membrane / soa-model

Toolkit and Java API for WSDL, WADL and XML Schema.
http://www.membrane-soa.org/soa-model/
Apache License 2.0
93 stars 73 forks source link

Stackoverflow by Cycling SuperTypes #186

Closed keshavarzi closed 10 years ago

keshavarzi commented 10 years ago

ComplexType.getSuperType() (also SimpleType) get to SOF if a type is defined like:

<complexType name="cyclingType">
    <complexContent>
      <restriction base="tns:cyclingType"></restriction>
    </complexContent>
  </complexType>

  <simpleType name="loopingType">
    <restriction base="tns:loopingType"/>
  </simpleType>

It doesn't make sense, but soa-model should handle this without an exception!

keshavarzi commented 10 years ago

Fixed in 1239f11ebecb1840df99cf3bf3422e78220ba3fc