commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Inger, Matthew" <In...@Synygy.com>
Subject [betwixt] Writing Map entries issue
Date Tue, 01 Jun 2004 21:04:07 GMT
One other issue, when writing map objects, we get XML like
the following:

  <entry>
    <key>6</key>
    <value>
      <itemNo>6</itemNo>
      <itemName>GlobalParameter6</itemName>
      <itemDesc>Global Parameter for Betwixt</itemDesc>
      <parentItemNo>0</parentItemNo>
      <parentItemName/>
      <dataType value="8" valueAsInteger="8" desc="Boolean">
        <valueAsObject>8</valueAsObject>
      </dataType>
      <parameterValue>true</parameterValue>
    </value>
  </entry>

Shouldn't the "value" part have another subelement which represents
the type?  Otherwise, how is a map supposed to be read back in?

Is there something i'm missing?

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message