Menu

#852 Empty VALUE.ARRAY elements are parsed as nulls

Function
closed-fixed
5
2007-09-04
2007-06-12
Endre Bak
No

e.g.:

<PROPERTY.ARRAY NAME="PropA" TYPE="string">
<VALUE.ARRAY/>
</PROPERTY.ARRAY>

is parsed to string[] PropA = null.
It is better to parse empty VALUE.ARRAY elements as empty arrays, since VALUE.ARRAY is always an optional sub-node in CIM-XML-DTD and a missing sub-node could mean null.

Discussion

  • Endre Bak

    Endre Bak - 2007-06-12

    Logged In: YES
    user_id=1508775
    Originator: YES

    File Added: patch.1735693_Empty_VALUE.ARRAY_elements_are_parsed_as_nulls.txt

     
  • Endre Bak

    Endre Bak - 2007-06-12
    • assigned_to: ebak --> krawalter
    • status: open --> open-fixed
     
  • Robert ILLES

    Robert ILLES - 2007-06-19

    Logged In: YES
    user_id=1755223
    Originator: NO

    Patch sent for community review. During a 2 week period any
    exploiter may comment on the patch, request changes or turn it
    down completely (with good reason).
    For the time being the patch is part of the "Experimental" branch
    in CVS.

     
  • Robert ILLES

    Robert ILLES - 2007-07-05

    Logged In: YES
    user_id=1755223
    Originator: NO

    The community review is completed and we received no substantial
    critisism. Therefore the patch has been approved and merged into
    the "HEAD" branch. The next release will pick it up.

     
  • Robert ILLES

    Robert ILLES - 2007-07-05
    • status: open-fixed --> pending-fixed
     
  • SourceForge Robot

    Logged In: YES
    user_id=1312539
    Originator: NO

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 60 days (the time period specified by
    the administrator of this Tracker).

     
  • SourceForge Robot

    • status: pending-fixed --> closed-fixed
     

Log in to post a comment.