#2558 SFCB should reject empty <VALUE> in most instances

sfcb (1090)

According to DSP0201: - VALUE
The VALUE element is used to define a single (non-array), non-reference, non-NULL CIM property value,
CIM qualifier value, CIM method return value, or CIM method parameter value.

Currently, SFCB allows for empty VALUE elements, giving them a CMPI_goodValue state. The spec allows for empty VALUE elements for the string type (the value becomes a zero-length string), but not for scalar types. The current implementation in SFCB, causes a problem, since both empty and 0 for a scalar type are the same.

The CIMType or ParamType attribute of the parent (or grandparent) tag can be checked for the type of VALUE.


  • Chris Buccella

    Chris Buccella - 2012-12-13

    committed to HEAD

  • Chris Buccella

    Chris Buccella - 2012-12-13
    • status: open --> pending-fixed
  • Chris Buccella

    Chris Buccella - 2012-12-13

    pushed to git master


Log in to post a comment.