FpML Issues Tracker

792: ln-19 should refer to exists() as a function

August 29, 2008

closed

Minor

Always

Validation Rules

Admin

None

Summary

The current ln-19: " ln-19 (Mandatory) Context: DrawdownNotice (complex type) [drawdownEventType = RateSetEvent] [exists(loanContract)] loanContract/currentInterestRatePeriod/interestRate and loanContract/currentInterestRatePeriod/margin and loanContract/currentInterestRatePeriod/allInRate and loanContract/currentInterestRatePeriod/interestDayBasis and loanContract/currentInterestRatePeriod/indexTenor must exist. "

As written this is the XPath "and" of the contents of an element with another. This isn't what is meant in the rule. "exists()" should be used as a function as it is in the guard condition.

Written out as per the FpML Manual rules gives the below: " ln-19 (Mandatory) Context: DrawdownNotice (complex type) [drawdownEventType = RateSetEvent][exists(loanContract)] exists(loanContract/currentInterestRatePeriod/interestRate) and exists(loanContract/currentInterestRatePeriod/margin) and exists(loanContract/currentInterestRatePeriod/allInRate) and exists(loanContract/currentInterestRatePeriod/interestDayBasis) and exists(loanContract/currentInterestRatePeriod/indexTenor) "

Notes:

  • lyteck

    09/16/08 3:44 pm

    ValWG (2008-09-16): not adopted – see related issue 806 for explanation

  • Leave an update

    You must be logged in to post an update.