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 "Lijun Liao (JIRA)" <ax...@ws.apache.org> on 2006/03/09 16:20:41 UTC
[jira] Commented: (AXIS-2431) Empty namespace added while
serializing document with more than one namespace
[ http://issues.apache.org/jira/browse/AXIS-2431?page=comments#action_12369651 ]
Lijun Liao commented on AXIS-2431:
----------------------------------
The empty namespace will be added by AXIS to the element with non-default namespace.
A document like
<header xmlns="namspace.default" xmlns:ns2="namspace.ns2">
<a>value of a</a>
<ns2:b>value of b</ns2:b>
</header>
will be serialized as
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<header xmlns="namspace.default" xmlns:ns2="namspace.ns2">
<a>value of a</a>
<ns2:b xmlns:ns2="">value of b</ns2:b>
</header>
</soapenv:Body>
</soapenv:Envelope>.
> Empty namespace added while serializing document with more than one namespace
> -----------------------------------------------------------------------------
>
> Key: AXIS-2431
> URL: http://issues.apache.org/jira/browse/AXIS-2431
> Project: Apache Axis
> Type: Bug
> Components: Serialization/Deserialization
> Versions: 1.3
> Environment: SUSE Linux 10.0 with x86
> Reporter: Lijun Liao
> Attachments: DocumentWith2NSs.java
>
--
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