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 "Davanum Srinivas (JIRA)" <ax...@ws.apache.org> on 2005/12/22 16:28:32 UTC
[jira] Commented: (AXIS-2351) Serialization does not eliminate the elements with no value when they are nillable, Serialization add empty xml namespace (xmlns = "") for the namespace with no prefix
[ http://issues.apache.org/jira/browse/AXIS-2351?page=comments#action_12361111 ]
Davanum Srinivas commented on AXIS-2351:
----------------------------------------
did you run "ant clean all-tests"? did all the tests pass? Can we have a test case for this?
thanks,
dims
> Serialization does not eliminate the elements with no value when they are nillable, Serialization add empty xml namespace (xmlns = "") for the namespace with no prefix
> -----------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: AXIS-2351
> URL: http://issues.apache.org/jira/browse/AXIS-2351
> Project: Apache Axis
> Type: Bug
> Components: Serialization/Deserialization
> Versions: beta-1, current (nightly), beta-2, future (enh), beta-3, 1.0-rc1, 1.0-rc2, 1.0, 1.1beta, 1.1, 1.1RC1, 1.1rc2, 1.2 Alpha, 1.2 Beta, 1.2RC1, 1.2RC2, 1.2RC3, 1.2, 1.2.1, 1.3
> Environment: ALL
> Reporter: Pratik Parikh
> Attachments: AXIS-2351-Patch.txt
>
> 1) Serialization does not eliminate the elements with no value when they are nillable and adds xmi:nil="true" where the developer really means i don't want that element to show up in my xml. This is a major bug for validating the xml agains the schema in xmlspy or oxgenXML.
> for e.g.
> <foo xmlns="urn:foo-org">
> <bar xsi:nil="true">
> </foo>
> where it should be
> <foo xmlns="urn:foo-org"/>
> 2) Serialization add empty xml namespace (xmlns = "") for the namespace with no prefix. The Serialization adds empty xml namspace for child element if they belong to the same namespace as the root element.
> for e.g.
> <foo xmlns="urn:foo-org">
> <bar value="type" xmlns=""/>
> </foo>
> where it should be
> <foo xmlns="urn:foo-org">
> <bar value="type"/>
> </foo>
--
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