You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Dennis Sosnoski (JIRA)" <ax...@ws.apache.org> on 2005/03/01 00:21:51 UTC

[jira] Commented: (AXIS-313) Axis does not understand default namespace; will not interoperate with.NET

     [ http://issues.apache.org/jira/browse/AXIS-313?page=comments#action_59908 ]
     
Dennis Sosnoski commented on AXIS-313:
--------------------------------------

This should be reopened. Default namespaces do apply to QNames character data content. The most widely used example I've seen of this is in schema definitions, where using the schema namespace as the default lets you reference standard schema types without needing to use a prefix (as in <element name="text" type="string"/>).

> Axis does not understand default namespace; will not interoperate with.NET
> --------------------------------------------------------------------------
>
>          Key: AXIS-313
>          URL: http://issues.apache.org/jira/browse/AXIS-313
>      Project: Axis
>         Type: Bug
>   Components: Serialization/Deserialization
>     Versions: current (nightly)
>  Environment: Operating System: All
> Platform: All
>     Reporter: hhuang
>     Assignee: Axis Developers Mailing List

>
> Bug in RC1
> If NS:TypeB is a complexType extending from NS:TypeA, and elementA is of 
> NS:TypeA, the following should be accepted by Axis:
> <methodCall xmlns="NS">
>   <elementA xsi:type="TypeB">
> </methodCall>
> However, Axis insists on an explicit namespace:
> <methodCall xmlns="NS" xmlns:explicit="NS">
>   <elementA xsi:type="explicit:TypeB">
> </methodCall>
> Axis is too strict. It should accept default namespaces. .NET uses xmlns="foo" 
> style namespaces for doc/literal messages. This bug makes Axis and .NET non-
> interoperable for inherited classes/types.
> -Han Huang
> hhuang@kodak.com

-- 
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
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira