FpML Issues Tracker

823: invalid-fx-46-01 and invalid-fx-47-01 exercise each other’s rules invalidly

September 15, 2008

closed

Minor

Always

Validation Rules

Admin

None

Summary

Both samples, invalid-fx-46-01.xml and invalid-fx-47-01.xml are invalid against their own rules, but also invalid against each other's rules.

As per the FpML rule specification guidelines each invalid sample must only be invalid against one rule.

Please fiz the samples to be invalid against their own rules only.

Notes:

  • iyermakova

    09/16/08 2:36 pm

    Reviewed by Val WG on 16-SEP-2008: It is not always possible for the invalid examples to be invalid against their own rules, and valid against each other’s rules. Andrew Jacobs will investigate the issue.

  • andrew

    09/16/08 5:19 pm

    I have examined the files distributed with the last 4.5 working draft and they contain the correct content.

    In invalid-fx-46-01.xml the side rates are adjusted so that currency1SideRate alone uses an invalid basis code. currency2SideRate is correct.


    USD

    EUR
    BaseCurrencyPerCurrency2
    0.9325


    GBP
    BaseCurrencyPerCurrency2
    1.4800

    Similiarly in invalid-fx-47-01.xml it is currency2SideRate that is modified.


    USD

    EUR
    BaseCurrencyPerCurrency1
    0.9325


    GBP
    BaseCurrencyPerCurrency1
    1.4800

    The files should only trigger thier own specific error and my validation code confirms this. Please check your implementation.

  • matthew

    09/16/08 9:10 pm

    “It is not always possible for the invalid examples to be invalid against their own rules, and valid against each other’s rules.” – this can only be the case where there is redundancy in the rules. If you can find me an example of this, then I can show you a redundancy in the rules.

  • matthew

    09/16/08 10:01 pm

    Withdrawing the issue. The problem was I misread the samples.

  • Leave an update

    You must be logged in to post an update.