FpML Issues Tracker

935: cd-2 mangled

May 28, 2009

closed

Minor

Always

Validation Rules

Admin

None

Summary

cd-2 changed in revision 5360. It now says:

" Context: Trade (complex type) [exists(calculationAgent)] child::calculationAgent = (calculationAgentPartyReference, calculationAgentParty eq "AsSpecifiedInMasterAgreement") "

1. The form "child::" is redundant. 2. There may be more than one calculationAgent.

What it should say is instead is what is in the XQuery implementation: " Context: Trade (complex type) [exists(calculationAgent)] every $calculationAgent in calculationAgent satisfies (($calculationAgent/calculationAgentParty eq "AsSpecifiedInMasterAgreement") or $calculationAgent/calculationAgentPartyReference) "

The same problem also occurs in cd-2b; which requires the same fix.

Notes:

  • matthewdr

    06/09/09 1:48 pm

    Discussed at VWG. Agreed to change cd-2 and cd-2b. ISDA to implement.

  • iyermakova

    06/10/09 3:43 pm

    Corrected XPath description in rules cd-2 and cd-2b as proposed:
    “every $calculationAgent in calculationAgent satisfies (($calculationAgent/calculationAgentParty eq “AsSpecifiedInMasterAgreement”) or $calculationAgent/calculationAgentPartyReference)

  • matthewdr

    06/10/09 3:55 pm

    I tested it.

  • Leave an update

    You must be logged in to post an update.