FpML Issues Tracker

749: invalid-shared-16-01.xml does not invalidate rule shared-16

June 9, 2008

closed

Minor

Always

Validation Rules

MarkAddison

None

Summary

When rule shared-16 is applied to the invalid test case document, invalid-shared-16-01.xml, the result is in fact valid. The type TradeSide //party/@href does match a part ref-id!

The rule states: Context: TradeSide (complex type) shared-16 (Mandatory) For party/@href anywhere within the tradeSide element, href shall match the @id attribute of an /FpML/party element.

current document invalid-shared-16-01.xml:

NB for the document to be valid any reference must reference a valid id - so, one proposal is to add a ref to accrualBusinessCenters1:

(of course any valid ref-id other than party ref-id could be used)

Notes:

  • mgratacos

    06/23/08 9:51 am

    Suggested proposal has been implemented in the 4.x and 5.0 versions. The test case is now invalid.

  • Leave an update

    You must be logged in to post an update.