Hi Dims,

   I just attached a fix for this, can you please commit that patch.

Thanks,
Parikh, Pratik | Software Engineer | Cerner Corporation |
(1)-816-201-1298 | [EMAIL PROTECTED] | www.cerner.com


-----Original Message-----
From: Pratik Parikh (JIRA) [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 21, 2005 2:04 PM
To: axis-dev@ws.apache.org
Subject: [jira] Created: (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

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


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


CONFIDENTIALITY NOTICE

This message and any included attachments
are from Cerner Corporation and are intended
only for the addressee. The information
contained in this message is confidential and
may constitute inside or non-public information
under international, federal, or state
securities laws. Unauthorized forwarding,
printing, copying, distribution, or use of such
information is strictly prohibited and may be
unlawful. If you are not the addressee, please
promptly delete this message and notify the
sender of the delivery error by e-mail or you
may call Cerner's corporate offices in Kansas
City, Missouri, U.S.A at (+1) (816)221-1024.
---------------------------------------- --

Reply via email to