FpML Issues Tracker
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