FpML Issues Tracker
closed
Minor
Always
Validation Rules
MarkAddison
None
Summary
Valid test case valid-cd-34-01.xml is invalid (cf. rule cd-25)
rule cd-25: If physicalSettlementTerms exists them it must contain settlementCurrency, physicalSettlementPeriod, escrow and deliverableObligations/accruedInterest
In this case, the document does not contain //physicalSettlementTerms/deliverableObligations/accruedInterest
Resolution, either the rule is incorrect and needs to be redefined or the document needs to be amended to conform to the rule (i.e. by adding an appropriate accruedInterest element)
Notes:
matthewdr
06/03/08 1:40 pm
Agreed at VWG. Marc Gratacos to implement a fix to the example.
Potentially a collision between cd-25 and cd-34 that Marc Gratacos will look into.
lyteck
12/11/08 7:38 pm
valid-cd-34-01.xml indeed contains:
– 3 out of 4 elements required in cd-25
– category = ReferenceObligationsOnly, required in cd-34
According to the schema annotations and other examples (e.g., valid-cd-25-01.xml), the two parameters aren’t directly related and can coexist. We could have:
will fix valid-cd-34-01.xml, wrt rule cd-25, by adding element