FpML Issues Tracker

786: ln-15 has undefined precedence

August 29, 2008

closed

Minor

Always

Validation Rules

Admin

None

Summary

ln-15 has undefined precedence for the different clauses.

The rule today is: " ln-15 (Mandatory) Context: DrawdownNotice (complex type) [exists(dealIdentifier/creditAgreementDate)] loanContract/effectiveDate and drawdownPayment/paymentDate >= dealIdentifier/creditAgreementDate. "

"loanContract/effectiveDate and drawdownPayment/paymentDate" returns in XPath true if both elements exist.

"drawdownPayment/paymentDate >= dealIdentifier/creditAgreementDate" returns true if an element in the first path occurs in the second.

What is probably meant is: " ln-15 (Mandatory) Context: DrawdownNotice (complex type) [exists(dealIdentifier/creditAgreementDate)] (loanContract/effectiveDate >= dealIdentifier/creditAgreementDate) and (drawdownPayment/paymentDate >= dealIdentifier/creditAgreementDate) "

As per the FpML Manual rules, the rule should use precedence grouping operators "(" and ")" to remove ambiguity.

Notes:

  • matthewdr

    08/29/08 10:55 am

    An additional problem is that //element(*, DrawdownNotice)/dealIdentifier can never exist because it isn’t in the schema.

    I have no idea what this is supposed to be.

  • iyermakova

    12/11/08 3:45 pm

    The issue was fixed as proposed.
    If dealSummary/creditAgreementDate exists, then loanContract/effectiveDate >= dealSummary/creditAgreementDate and drawdownPayment/paymentDate >= dealSummary/creditAgreementDate.

  • matthewdr

    12/11/08 4:29 pm

    The recorded resolution doesn’t match what is in the repository. What I see in the repository is:


    [exists(dealSummary/creditAgreementDate)]
    (loanContract/effectiveDate ge dealSummary/creditAgreementDate) and (drawdownPayment/paymentDate ge dealSummary/creditAgreementDate)

    Where does the text in the issue comments #0002201 come from?

  • iyermakova

    12/11/08 8:10 pm

    It was fixed, but I just committed it to trunk (4-5) with other changes.

    English Description:
    If dealSummary/creditAgreementDate exists, then loanContract/effectiveDate is greater than or equal to dealSummary/creditAgreementDate and drawdownPayment/paymentDate is greater than or equal to dealSummary/creditAgreementDate.

  • iyermakova

    12/11/08 8:13 pm

    the text in the issue comments #0002201 come from FpML-4-4-REC rule ln-15

  • Leave an update

    You must be logged in to post an update.