Format used to give values for CIM datetime property is not correct. in rev 2920

Bug ID:233
Project:Opentestman
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

If a property is of type CIM datetime, then according to the DSP0230 spec, section 6.1 the value has to be given in format listed there. Hence giving value like this is not correct.

<n1:TimeoutPeriod>PT1S</n1:TimeoutPeriod>

Updates

#1 submitted by akash_malhotra on Thu, 08/14/2008 - 12:01

The value given is Internal of type xs:duration which is correct as oer Section 8.1 of DSP0230.

As explained in the specification DSP0230

From Section 7.5.3 of DSP0230
<xs:element name="TimeoutPeriod" type="cim:cimDateTime" nillable="true"/>

Type cim:cimDateTime is explained under the section 6.1, if a value "PT1S" to be specified for TimeOutPeriod, then it has to be specified as

<TimeOutPeriod>
<Interval>PT1S</Interval>
</TimeOutPeriod>