axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anonymous (JIRA)" <axis-...@ws.apache.org>
Subject [jira] Updated: (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
Date Wed, 21 Dec 2005 21:17:32 GMT
     [ http://issues.apache.org/jira/browse/AXIS-2351?page=all ]

 updated AXIS-2351:
-------------------

    Attachment: AXIS-2351-Patch.txt

> 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


Mime
View raw message