FpML Issues Tracker
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.
Similiarly in invalid-fx-47-01.xml it is currency2SideRate that is modified.
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.