FpML Issues Tracker

621: shortForm ‘precondition’ needs to keep up with contractualTermsSupplement changes

March 1, 2008

closed

Minor

Always

Validation Rules

Admin

mgratacos

Summary

//contractualTermsSupplement has changed in structure. The shortForm precondition needs to change in structure to keep up with changes in the things it references.

NB There are problems with the ambiguity of the shortForm 'precondition' that also need resolving. See issue #620.

Today's text: " Precondition: ShortForm (context: Trade) (context: Contract) documentation/masterConfirmation exists or documentation/contractualMatrix exists or documentation/contractualTermsSupplement exists and begins with substring iTraxx or CDX. "

Today this means: exists(//documentation[masterConfirmation|contractualMatrix|contractualTermsSupplement[matches (., "^(iTraxx|CDX)")]])

What it should be is: exists(//documentation[masterConfirmation|contractualMatrix|contractualTermsSupplement[matches (type, "^(iTraxx|CDX)")]])

I propose we change the text to: " Precondition: ShortForm (context: Trade) (context: Contract) documentation/masterConfirmation exists, or documentation/contractualMatrix exists, or documentation/contractualTermsSupplement exists and documentation/contractualTermsSupplement/type begins with string iTraxx or CDX. "

Notes:

  • mgratacos

    03/20/08 11:31 am

    This has been committed to the trunk and 5.0 branch.

  • Leave an update

    You must be logged in to post an update.