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 "olaf sammler (JIRA)" <ji...@apache.org> on 2006/06/22 12:01:29 UTC

[jira] Created: (WSCOMMONS-46) no namespace found for attributes other than "type" for namespace declaration in the current element itself

no namespace found for attributes other than "type" for  namespace declaration in the current element itself 
-------------------------------------------------------------------------------------------------------------

         Key: WSCOMMONS-46
         URL: http://issues.apache.org/jira/browse/WSCOMMONS-46
     Project: WS-Commons
        Type: Bug

  Components: XmlSchema  
 Environment: Windows XP, jdk1.5, axis2 version1.0

    Reporter: olaf sammler


In a wsdl-file is a a complex type definition using a namespace in base-Attribute, that is declared in the extension-element.

...
<xsd:extension base="tp:Base" xmlns:tp="java:org.test.Test" >
...

wsdl2java throws an Exception
"org.apache.ws.commons.schema.XmlSchemaException: No namespace found in given base complex content base type"

I have seen, that the same problem for type-attribut of elements is fixed.
Using namespaces in current element itself for other attributes than "type"  is supported by XML-Schema, but not supported by ws-Commons.

-- 
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-46) no namespace found for attributes other than "type" for namespace declaration in the current element itself

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

Davanum Srinivas resolved WSCOMMONS-46.
---------------------------------------

    Resolution: Fixed

Fixed in latest SVN. Please check and let us know if it is still broken.

-- dims

> no namespace found for attributes other than "type" for  namespace declaration in the current element itself
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: WSCOMMONS-46
>                 URL: http://issues.apache.org/jira/browse/WSCOMMONS-46
>             Project: WS-Commons
>          Issue Type: Bug
>          Components: XmlSchema
>         Environment: Windows XP, jdk1.5, axis2 version1.0
>            Reporter: olaf sammler
>
> In a wsdl-file is a a complex type definition using a namespace in base-Attribute, that is declared in the extension-element.
> ...
> <xsd:extension base="tp:Base" xmlns:tp="java:org.test.Test" >
> ...
> wsdl2java throws an Exception
> "org.apache.ws.commons.schema.XmlSchemaException: No namespace found in given base complex content base type"
> I have seen, that the same problem for type-attribut of elements is fixed.
> Using namespaces in current element itself for other attributes than "type"  is supported by XML-Schema, but not supported by ws-Commons.

-- 
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