axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chuck Williams <>
Subject Re: [jira] Commented: (AXIS2-520) ADB pull parser does notserialize of 0-length arrays
Date Tue, 04 Apr 2006 02:12:57 GMT
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<body bgcolor="#ffffff" text="#000000">
 style="font-size: smaller; font-style: italic; margin-bottom: -2.4em;"><span>Simon
Fell <a class="moz-txt-link-rfc2396E" href="">&lt;;</a></span>
wrote on <span>04/03/2006
03:49:25 PM</span>:<br>
<blockquote cite=""
  <pre wrap="">On Tue, 04 Apr 2006 07:02:40 +0600, in soap you wrote:

  <blockquote type="cite">
    <pre wrap="">On Mon, 2006-04-03 at 13:10 -0700, Simon Fell wrote:
    <blockquote type="cite">
      <pre wrap="">Please don't do this, if the schema says

&lt;element name="foo" type="xsd:string"/&gt;
&lt;element name="bar" minOccurs="0" maxOccurs="unbounded" nilable="true"/&gt;

&lt;bar xsi:nil='true'/&gt;

Means something completely different to
    <pre wrap="">True. What do you suggest we do for zero length arrays where we don't
have the schema around? The only think I can think of is for the pull
parser to have two modes .. and for the one who calls it to know what to
do. That way in an ADB generated case where the generated code knows the
right thing to do it can call the appropriate form of zero length array

  <pre wrap=""><!---->
Unless you're doing .NET ass funky array wrapping (in which case you
deserve everything you get), a 0 zero length array should serialize no
Which is exactly what my patch does, now attached to both this issue
<a class="moz-txt-link-freetext" href=""></a>
and issue 523
<a class="moz-txt-link-freetext" href=""></a><br>

View raw message