FpML Issues Tracker
closed
Minor
Always
Validation Rules
Admin
None
Summary
fx-19 should be:
fx-19 (Mandatory) English Description: Context: FxLeg (complex type) If exchangedCurrency1/paymentAmount and exchangedCurrency2/paymentAmount have the same currency scheme, then exchangedCurrency1/paymentAmount/currency must not be equal to exchangedCurrency2/paymentAmount/currency XPath Description: Context: FxLeg (complex type) [same-currency-scheme((exchangedCurrency1/paymentAmount,exchangedCurrency2/paymentAmount))] exchangedCurrency1/paymentAmount/currency ne exchangedCurrency2/paymentAmount/currency
The function same-currency-scheme. The same applies to fx-23 and fx-43. All three rules need fixing.
Notes:
matthewdr
04/07/09 1:11 pm
Discussed at the VWG today. Lyteck agreed to implement for all three.
lyteck
04/15/09 2:57 pm
fixed fx19, fx-23, fx-43 as agreed (changed function reference from same-currency() to same-currency-scheme())