681: Rules WIP

What is the status of https://dedicated.fpml.org/svn/fpml/trunk/src/validation/rules-english-eqd-wip.xml Most of these rules no longer look to be WIP. I suggest the file is updated and the repository brought back into line with the current state of the world.

679: numberOfOptions not a property of the context

eqd-26 is broken because numberOfOptions is not visible within the context of EquityMultipleExercise. The rule today: ” Context: EquityMultipleExercise (complex type) eqd-26 (Mandatory) maxiumumNumberOfOptions

677: The context of EquityOption needs to be identified as a type

In the EQDWG rules the context of Equity Option needs to be indicated as a complex type, rather than a element. The XPath for a type is “//element(*, EquityOption)”. Although the VWG chose to use XPath for axis, they don’t do this for contexts, where instead they use plain-ish English. This change is to propose … Continued

675: Contract is needed as a Context

The EQD rules that have a context of “Trade (complex type)”, also need a context of “Contract (complex type)”. The context today: “# Trade (complex type): eqd-1 eqd-2 eqd-4 eqd-5 eqd-12 eqd-13 eqd-14” The context should be: “# Trade (complex type), Contract (complex type): eqd-1 eqd-2 eqd-4 eqd-5 eqd-12 eqd-13 eqd-14”

674: invalid-eqd-4-01.xml is valid

The supposedly invalid example invalid-eqd-4-01.xml is valid. Please correct it by making it invalid. The rule is: ” eqd-4 (Mandatory) //equityExercise/equityBermudaExercise/commencementDate/adjustableDate/unadjustedDate must be greater than or equal to tradeHeader/tradeDate. ” commencementDate is 2002-02-17Z tradeDate is 2002-01-17Z There is a mysterious comment next to the date: “” I can’t find the change that changed the date … Continued

673: Context mis-capitalized for Equity Derivatives

The context for EQD Equity Bermuda Exercise is incorrect in the validation rules. http://www.fpml.org/spec/fpml-4-4-5-lcwd-1/html/index.html The context today: ” Context: equityBermudaExercise (complex type) ” The correct context: ” Context: EquityBermudaExercise (complex type) “

672: eqd-1 incorrectly assumes element equityAmericanExercise exists

The rule today: ” Context: Trade (complex type) eqd-1 (Mandatory) //equityExercise/equityAmericanExercise/commencementDate/adjustableDate/unadjustedDate must be equal to tradeHeader/tradeDate. ” The problem is that not every Trade has a //equityAmericanExercise. For example IRS and CDS Trades will not have an equityAmericanExercise. Solution 1 is to put a filter on the context. In XPath the filter is: ” Context: … Continued