471: Link the Rule definitions to the the test cases instead of fragments.

———————————————————————- mgratacos – 2007-08-23 17:48 ———————————————————————- The only html documents in the source directory of the repository were the fragments documents (part of the validation documentation). The Validation Working Group decided not to mantain these files anymore and link directly to the appropriate test cases (xml files).

470: valid-eqd-01.xml example breaks rule eqd-23

Rule eqd-23 states: Context: EquityDerivativeBase (complex type) eqd-23 (Mandatory) equityEffectiveDate >= ../../tradeHeader/tradeDate Example valid-eqd-01.xml breaks this rule because it does not have an equityEffectiveDate. The field equityEffectiveDate inside the complexType EquityOption is optional. Therefore rule eqd-23 does not make sense when equityEffectiveDate is not present.

469: eqd-25 XPath incorrect on pricePerOption

The rule states: Context: BrokerEquityOption (complex type) eqd-25 (Mandatory) Preconditions: SameCurrency If numberOfOptions, equityPremium/paymentAmount and equityPremium/pricePerOption are present then: equityPremium/pricePerOption * numberOfOptions = equityPremium/paymentAmount/amount. The rule should state: Context: BrokerEquityOption (complex type) eqd-25 (Mandatory) Preconditions: SameCurrency If numberOfOptions, equityPremium/paymentAmount and equityPremium/pricePerOption are present then: equityPremium/pricePerOption/amount * numberOfOptions = equityPremium/paymentAmount/amount. The difference is the correct version … Continued

467: eqd-23 wrong Xpath to trade Date

Context: EquityDerivativeBase (complex type) eqd-23 (Mandatory) equityEffectiveDate >= ../../tradeHeader/tradeDate The correct path to tradeDate is ../tradeHeader/tradeDate

466: Incorrect context or XPath for eqd-23

Context: EquityDerivativeBase (complex type) equityEffectiveDate >= ../../tradeHeader/tradeDate The XPath is missing two levels of elements for the equityEffectiveDate. There is the same problem with tradeDate. The XPath required is //element(*, EquityDerivativeBase)/trade/equityOption/equityEffectiveDate And for tradeDate is should be: //element(*, EquityDerivativeBase)/trade/tradeHeader/tradeDate

465: Schema structure in rules rather than schema

One of the principles set out by John Weir is that where there is a choice between representing a structure in XSD or as a constraint, it should be preferred to represent it in the XSD. This rule contradicts that AWG principle. Context: CalculationAgent (complex type) eqd-21 (Mandatory) calculationAgentPartyReference must be present.

464: eqd-20 error

eqd-20 (Mandatory) Preconditions: SameCurrency If numberOfOptions, optionEntitlement, equityPremium/paymentAmount and equityPremium/pricePerOption are present then: equityPremium/pricePerOption * numberOfOptions * optionEntitlement = equityPremium/paymentAmount/amount. equityPremium/pricePerOption should instead be equityPremium/pricePerOption/amount

463: eqd-19 error

EQD-19 states: If notional, equityPremium/percentageOfNotional and equityPremium/paymentAmount are present, then equityPremium/paymentAmount/amount = notional * equityPremium/percentageOfNotional It should state: If notional, equityPremium/percentageOfNotional and equityPremium/paymentAmount are present, then equityPremium/paymentAmount/amount = notional/amount * equityPremium/percentageOfNotional

462: Correct relative path for all FpML examples in the SVN structure

(see Matthew Rawlings’ feedback on the related http://www.fpml.com/issues/view.php?id=433 issue ) They need to have a valid path in both the SVN structure and in the distribution. We need a valid path in the distribution so we can do development with them. Take valid-bp-1-01.xml as an example. This has the global attribute of xsi:schemaLocation=”http://www.fpml.org/2007/FpML-4-3 ../../fpml-main-4-3.xsd” This … Continued