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 "Edell Nolan (JIRA)" <ji...@apache.org> on 2006/08/02 15:04:15 UTC

[jira] Created: (WSCOMMONS-69) NamespaceURI is missing for an xmlSchemaElement

NamespaceURI is missing for an xmlSchemaElement
-----------------------------------------------

                 Key: WSCOMMONS-69
                 URL: http://issues.apache.org/jira/browse/WSCOMMONS-69
             Project: WS-Commons
          Issue Type: Bug
          Components: XmlSchema
            Reporter: Edell Nolan


Hi,

I have a test case with the following wsdl 

<complexType name="ArrayType">
                <sequence>
                    <element name="p1" type="xsd:string"/>  
                    <element name="p2" type="xsd:string" minOccurs="0"/> 
                    <element name="p3" type="xsd:string" minOccurs="5" maxOccurs="5"/> 
                    <element name="p4" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/> 
                    <element name="p5" type="xsd:string" minOccurs="0" maxOccurs="15"/>             
                    <element name="p6" type="xsd:string" minOccurs="2" maxOccurs="unbounded"/>             
                    <element name="p7" type="xsd:string" minOccurs="3" maxOccurs="10"/> 
                </sequence>
</complexType>

When I iterate down through the definition after parsing - In the XmlSchemaElement - it has the correct Name but its qualified name has no namespaceurl or prefix.  

I will attach the testcase.

cheers, Edell.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: commons-dev-help@ws.apache.org


[jira] Resolved: (WSCOMMONS-69) NamespaceURI is missing for an xmlSchemaElement

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/WSCOMMONS-69?page=all ]

Davanum Srinivas resolved WSCOMMONS-69.
---------------------------------------

    Resolution: Invalid

Because you have not specified any...Try the following.

<element name="tns:p1" type="xsd:string"/>

-- dims


> NamespaceURI is missing for an xmlSchemaElement
> -----------------------------------------------
>
>                 Key: WSCOMMONS-69
>                 URL: http://issues.apache.org/jira/browse/WSCOMMONS-69
>             Project: WS-Commons
>          Issue Type: Bug
>          Components: XmlSchema
>            Reporter: Edell Nolan
>         Attachments: testcase.zip
>
>
> Hi,
> I have a test case with the following wsdl 
> <complexType name="ArrayType">
>                 <sequence>
>                     <element name="p1" type="xsd:string"/>  
>                     <element name="p2" type="xsd:string" minOccurs="0"/> 
>                     <element name="p3" type="xsd:string" minOccurs="5" maxOccurs="5"/> 
>                     <element name="p4" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/> 
>                     <element name="p5" type="xsd:string" minOccurs="0" maxOccurs="15"/>             
>                     <element name="p6" type="xsd:string" minOccurs="2" maxOccurs="unbounded"/>             
>                     <element name="p7" type="xsd:string" minOccurs="3" maxOccurs="10"/> 
>                 </sequence>
> </complexType>
> When I iterate down through the definition after parsing - In the XmlSchemaElement - it has the correct Name but its qualified name has no namespaceurl or prefix.  
> I will attach the testcase.
> cheers, Edell.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: commons-dev-help@ws.apache.org


[jira] Commented: (WSCOMMONS-69) NamespaceURI is missing for an xmlSchemaElement

Posted by "Balaji Ravi (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WSCOMMONS-69?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12502478 ] 

Balaji Ravi commented on WSCOMMONS-69:
--------------------------------------

Why do i have to specify a qname in a name? The name attribute is a string...

The element namespace uri should be the schema target namespace. Can we get this fixed???



> NamespaceURI is missing for an xmlSchemaElement
> -----------------------------------------------
>
>                 Key: WSCOMMONS-69
>                 URL: https://issues.apache.org/jira/browse/WSCOMMONS-69
>             Project: WS-Commons
>          Issue Type: Bug
>          Components: XmlSchema
>            Reporter: Edell Nolan
>         Attachments: testcase.zip
>
>
> Hi,
> I have a test case with the following wsdl 
> <complexType name="ArrayType">
>                 <sequence>
>                     <element name="p1" type="xsd:string"/>  
>                     <element name="p2" type="xsd:string" minOccurs="0"/> 
>                     <element name="p3" type="xsd:string" minOccurs="5" maxOccurs="5"/> 
>                     <element name="p4" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/> 
>                     <element name="p5" type="xsd:string" minOccurs="0" maxOccurs="15"/>             
>                     <element name="p6" type="xsd:string" minOccurs="2" maxOccurs="unbounded"/>             
>                     <element name="p7" type="xsd:string" minOccurs="3" maxOccurs="10"/> 
>                 </sequence>
> </complexType>
> When I iterate down through the definition after parsing - In the XmlSchemaElement - it has the correct Name but its qualified name has no namespaceurl or prefix.  
> I will attach the testcase.
> cheers, Edell.

-- 
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] Updated: (WSCOMMONS-69) NamespaceURI is missing for an xmlSchemaElement

Posted by "Edell Nolan (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/WSCOMMONS-69?page=all ]

Edell Nolan updated WSCOMMONS-69:
---------------------------------

    Attachment: testcase.zip

TestCase attached.

> NamespaceURI is missing for an xmlSchemaElement
> -----------------------------------------------
>
>                 Key: WSCOMMONS-69
>                 URL: http://issues.apache.org/jira/browse/WSCOMMONS-69
>             Project: WS-Commons
>          Issue Type: Bug
>          Components: XmlSchema
>            Reporter: Edell Nolan
>         Attachments: testcase.zip
>
>
> Hi,
> I have a test case with the following wsdl 
> <complexType name="ArrayType">
>                 <sequence>
>                     <element name="p1" type="xsd:string"/>  
>                     <element name="p2" type="xsd:string" minOccurs="0"/> 
>                     <element name="p3" type="xsd:string" minOccurs="5" maxOccurs="5"/> 
>                     <element name="p4" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/> 
>                     <element name="p5" type="xsd:string" minOccurs="0" maxOccurs="15"/>             
>                     <element name="p6" type="xsd:string" minOccurs="2" maxOccurs="unbounded"/>             
>                     <element name="p7" type="xsd:string" minOccurs="3" maxOccurs="10"/> 
>                 </sequence>
> </complexType>
> When I iterate down through the definition after parsing - In the XmlSchemaElement - it has the correct Name but its qualified name has no namespaceurl or prefix.  
> I will attach the testcase.
> cheers, Edell.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: commons-dev-help@ws.apache.org