FpML Issues Tracker

872: cd-15 has the wrong equality operator

December 10, 2008

closed

Minor

Always

Validation Rules

Admin

None

Summary

cd-15 today has: " cashSettlementTerms/valuationMethod eq ("Market", "Highest") "

This is illegal in XPath 2. It breaks section 2.5.4 on Sequence Type Matching.

The correct solution is: " cashSettlementTerms/valuationMethod = ("Market", "Highest") "

In all these cases the correct XPath solution can be found in the XQuery reference implementation of the validation rules.

Notes:

  • lyteck

    12/10/08 2:33 pm

    agreed that this is incorrect. corrected as proposed.

  • matthewdr

    12/10/08 5:39 pm

    Tested, passed; closed.

  • Leave an update

    You must be logged in to post an update.