FpML Issues Tracker

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

August 22, 2007

closed

Minor

Always

Validation Rules

Admin

apparry

Summary

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.

Notes:

  • matthew

    08/22/07 7:49 pm

    This also applies to valid-eqd-2-01.xml

  • mgratacos

    08/24/07 1:08 pm

    If equityEffectiveDate is present, it should be grater than the tradeDate.

    Note: equityEffectiveDate is present only in the case of a forward starting option.

  • mgratacos

    08/24/07 1:51 pm

    Fixing the rule will now make the examples valid.

  • iyermakova

    08/24/07 6:38 pm

    Precondition “if present” and Comments were added to Rule eqd-23

    Rule eqd-23 states:
    Context: EquityDerivativeBase (complex type)
    eqd-23 (Mandatory)
    If equityEffectiveDate is present then: equityEffectiveDate >= ../../tradeHeader/tradeDate
    Comment: equityEffectiveDate is present only in the case of a forward starting option.

  • iyermakova

    08/24/07 6:43 pm

    Precondition “if present” and Comments were added to Rule eqd-23

    The change is in the trunk now

  • Leave an update

    You must be logged in to post an update.