You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commons-dev@ws.apache.org by "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org> on 2007/05/13 13:20:15 UTC

[jira] Created: (WSCOMMONS-205) XmlSchemaObjectTable return from the XmlSchema.getGroups() method has strings as the key.

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: commons-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: commons-dev-help@ws.apache.org


[jira] Assigned: (WSCOMMONS-205) XmlSchemaObjectTable return from the XmlSchema.getGroups() method has strings as the key.

Posted by "Ajith Harshana Ranabahu (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WSCOMMONS-205?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ajith Harshana Ranabahu reassigned WSCOMMONS-205:
-------------------------------------------------

    Assignee: Ajith Harshana Ranabahu

> 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
>         Assigned To: Ajith Harshana Ranabahu
>
> 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: commons-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: commons-dev-help@ws.apache.org


[jira] Commented: (WSCOMMONS-205) XmlSchemaObjectTable return from the XmlSchema.getGroups() method has strings as the key.

Posted by "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WSCOMMONS-205?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12497344 ] 

Amila Chinthaka Suriarachchi commented on WSCOMMONS-205:
--------------------------------------------------------

same problem exists with the AttributeGrop as well

> 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
>         Assigned To: Ajith Harshana Ranabahu
>
> 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: commons-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: commons-dev-help@ws.apache.org


[jira] Resolved: (WSCOMMONS-205) XmlSchemaObjectTable return from the XmlSchema.getGroups() method has strings as the key.

Posted by "Ajith Harshana Ranabahu (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WSCOMMONS-205?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ajith Harshana Ranabahu resolved WSCOMMONS-205.
-----------------------------------------------

    Resolution: Fixed

Fixed in trunk

> 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
>         Assigned To: Ajith Harshana Ranabahu
>
> 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: commons-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: commons-dev-help@ws.apache.org