XmlSchemaCollection.getElementByName doesn't work for the nested elements
-------------------------------------------------------------------------
Key: WSCOMMONS-366
URL: https://issues.apache.org/jira/browse/WSCOMMONS-366
Project: WS-Commons
Issue Type: Bug
Components: XmlSchema
Reporter: Alexander Ilyin
Priority: Critical
<xs:element name="ParentElement">
<xs:complexType>
<xs:sequence>
<xs:element name="SomeNestedOne" type="SomeNestedOneType" />
</xs:sequence>
</xs:complexType>
</xs:element>
XmlSchemaCollection.getElementByName can't find the SomeNestedOne element and
returns null
I guess the problem in the XmlSchema.getElementByName which iterates only by
top level elements and by imported schemas.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.