FpML Issues Tracker

756: shared-9 needs a condition

June 12, 2008

closed

Minor

Always

Validation Rules

Admin

None

Summary

The rule shared-9 is today:

" shared-9 (Mandatory) Context: BusinessDateRange (complex type) businessDayConvention is NONE or NotApplicable if and only if neither businessCentersReference nor businessCenters exists. "

This needs a condition and a more simple expression.

" shared-9 (Mandatory) Context: BusinessDateRange (complex type)[iff(exists(businessCentersReference), exists(businessCenters))] Rule: businessDayConvention = (string "NONE", string "NotApplicable") "

Notes:

  • lyteck

    07/10/08 6:36 pm

    implemented as proposed, except:
    – kept negation from original iff (seems omited from proposed solution)
    – didn’t add “string” types (to be consistent with other rules. should we?)

  • matthewdr

    08/12/08 4:32 pm

    accepting resolution.

  • Leave an update

    You must be logged in to post an update.