FpML Issues Tracker

753: shared-15 requires condition promoting

June 12, 2008

closed

Minor

Always

Validation Rules

Admin

None

Summary

shared-15 today is:

" shared-15 (Mandatory) Context: Offset (complex type) dayType must only exist if and only if period is D and periodMultiplier is non-zero. "

To comply with the specification on writing rules this should be changed to: " shared-15 (Mandatory) Context: Offset (complex type)[exists(dayType)] Rule: iff((period = string 'D'), (offset/periodMultiplier != 0)) "

"iff" is a shared function.

Notes:

  • lyteck

    07/14/08 7:53 pm

    Should the condition and the rule definition be reversed?


    Shared-15 (Mandatory)
    Context: Offset (complex type)[If and only if period = “D” and offset/periodMultiplier != 0]
    Rule: dayType exists.

  • matthewdr

    08/26/08 1:35 pm


    shared-15 (Mandatory)
    Context: Offset (complex type)[exists(dayType)]
    Rule: iff((period = xs:NMTOKEN(‘D’)), (offset/periodMultiplier != 0))

  • matthewdr

    08/26/08 1:36 pm

    Agreed at the VWG today to implement as proposed.

  • lyteck

    08/26/08 2:42 pm

    implemented as proposed.

  • matthewdr

    08/26/08 4:02 pm

    Accepting after testing.

  • Leave an update

    You must be logged in to post an update.