FpML Issues Tracker
closed
Minor
Have not tried
Validation Rules
IjDjurkin
danieldui
Summary
fx-21 says : Context: FxSingleLeg (complex type) If cashSettlement exists, then exchangeRate/forwardPoints must exist
However, the invalid test case for fx-21 "invalid-fx-51-01.xml" does not have a cashSettlement element, which is found only in complex type "FxOption", but not in "FxSingleLeg". The test case has element "nonDeliverableSettlement" instead, which is found in complex type "FxCoreDetails.model".
Therefore I am unable to get rule fx-21 to fire for the fx-21 invalid test case.
Please clarify.
Notes:
IjDjurkin
09/07/12 5:46 pm
correction, I meant to say invalid test case “invalid-fx-21-01.xml”
danieldui
10/23/12 2:30 pm
fx-21 (Mandatory)
English Description:
Context: FxSingleLeg (complex type)
If cashSettlement exists, then exchangeRate/forwardPoints must exist
XPath Description:
Context: FxSingleLeg
[exists(cashSettlement)]
exists(exchangeRate/forwardPoints)
fx-21 (Mandatory)
English Description:
Context: FxSingleLeg (complex type)
If nonDeliverableSettlement exists, then exchangeRate/forwardPoints must exist
XPath Description:
Context: FxSingleLeg
[exists(nonDeliverableSettlement)]
exists(exchangeRate/forwardPoints)
danieldui
10/23/12 2:31 pm
danieldui
12/18/12 12:11 pm
Checked: invalid-fx-21-01.xml
The test case is up to date in fpml-5-4-5-rec-1 .
We only need to update the documentation.
danieldui
12/18/12 2:43 pm
ACTION: ISDA – update rule as proposed. No need to update test cases
mkoli
12/19/12 7:56 pm
updated rules-english-fx.xml
danieldui
01/15/13 2:37 pm
updated rules-english-fx.xml