FpML Issues Tracker

644: valid-cd-38-02.xml not valid

March 7, 2008

closed

Minor

Always

Validation Rules

Admin

None

Summary

The example valid XML document valid-cd-38-02.xml is not valid against the rule.

Rule cd-38 states today: " Context: ReferencePool (complex type) cd-38 (Mandatory) The sum of referencePoolItem/constituentWeight/basketPercentage is equal to 1 or no referencePoolItem/constituentWeight exists. "

If any of the //constituentWeight is described using //constituentWeight/openUnit or //constituentWeight/basketAmount then it will not equal the value "1" and constituent weight will exist.

Based on my experience, I think it is the rule not the example that is incorrect.

0.60 Agrium Inc. 008HA7 008916AB4 0.077 2017-02-01 NorthAmericanInvestmentGrade Tenet Healthcare Corporation 8G836J 88033GAT7 0.06 2011-12-01 NorthAmericanInvestmentGrade

Notes:

  • matthewdr

    03/11/08 2:45 pm

    There needs to be a new rule to ensure that constituent weight for a reference pool as one way of doing consistuent weight.

    New rule:

    Context: ReferencePool (complex type)
    cd-xx (Mandatory)
    All referencePoolItem/constituentWeight must have the same name of child element.

  • matthewdr

    03/11/08 2:46 pm

    Agreed at VWG to add as cd-44. Andrew Jacobs will submit a proposal with new examples from Marc.

    The example needs to be changed to comply with cd-38.

  • iyermakova

    03/12/08 5:38 pm

    The example valid-cd-38-02.xml is changed to comply with cd-38 rule.
    It has been committed to 4-4 (trunk) and 5-0 (branches/FpML-5-0)

  • matthewdr

    04/08/08 11:55 am

    The new additional rule still needs to be added to guarantee consistency.

    At the moment there could be a mix of ways to describe constituent weight which would mean cd-38 may not hold universally.

  • matthewdr

    04/08/08 1:55 pm

    Agreed at the VWG to authorize Marc to implement.

  • mgratacos

    04/21/08 5:25 pm

    New rule cd-44 has been added to the trunk and 5.0 branch. An invalid test case for this rule has also been added.

  • Leave an update

    You must be logged in to post an update.