FpML Issues Tracker

710: Context of cd-3b needs to change to reflect schema changes

May 20, 2008

closed

Minor

Always

Validation Rules

Admin

None

Summary

The context of cd-3b needs to change to reflect changes in the schema.

The rule today is: " Context: Trade (complex type) cd-3b (Mandatory) Preconditions: ISDA1999 The content of documentation/ContractualTermsSupplement must not begin with the string ISDA2003Credit. "

However ContractualTermsSupplement is a repeating element following recent schema changes: " DEPRECATED - This element will be removed in the next major version of FpML. The element contractualTermsSupplement should be used instead. Definition: A contractual supplement (such as those published by ISDA) that will apply to the trade. A contractual supplement (such as those published by ISDA) that will apply to the trade. "

The context should be changed to the ContractualTermsSupplement if we keep the VWG's current way of writing preconditions, such as "ISDA1999".

Alternatively, if we fix all the issues around cd-3b we end up with the XQuery:

(for $contractualTermsSupplement as element(*, Trade) in //element(*, ContractualTermsSupplement)[$iSDA1999PreCondition] return val:pretty-result(xs:NMTOKEN("cd-3b"), xs:boolean(not(starts-with($contractualTermsSupplement/type, "ISDA2003Credit"))), $contractualTermsSupplement, "See issue: http://www.fpml.org/issues/view.php?id=709"))

Writing this out in FpML VWG's stylized English gives: " Context: ContractualTermsSupplement(complex type) cd-3b (Mandatory) Preconditions: ISDA1999 The element type must not begin with the string ISDA2003Credit. "

Notes:

  • iyermakova

    05/24/08 12:47 am

    The Rule cd-3b (trunk) and cd-3 (branchesFpML-5-0) has been updated

    Context: ContractualTermsSupplement(complex type)
    cd-3b (Mandatory)
    Preconditions: ISDA1999
    The content of type must not begin with the string ISDA2003Credit”

  • Leave an update

    You must be logged in to post an update.