XmlSchemaObjectTable return from the XmlSchema.getGroups() method has strings
as the key.
-----------------------------------------------------------------------------------------
Key: WSCOMMONS-205
URL: https://issues.apache.org/jira/browse/WSCOMMONS-205
Project: WS-Commons
Issue Type: Bug
Components: XmlSchema
Reporter: Amila Chinthaka Suriarachchi
Lets take this schema
<schema elementFormDefault="qualified"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:tns="org.apache.axis2.test.group"
targetNamespace="org.apache.axis2.test.group">
<xs:element name="TestGroupElement">
<xs:complexType>
<xs:sequence>
<xs:element name="param1" type="xs:string"/>
<xs:group ref="tns:TestGroup" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:group name="TestGroup">
<xs:sequence>
<xs:element name="param2" type="xs:string"/>
</xs:sequence>
</xs:group>
</schema>
1. XmlSchemaObjectTable return from the XmlSchema.getGroups() method has
strings as the key.
XmlSchemaObjectTable has a method called getItem(QName) this basically means
the key should be an
string)
2. XmlScheamGroup class does not have a getQName method.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]