FpML Issues Tracker
closed
Block
Always
Validation Rules
Admin
hpegeron
Summary
The existing constraints are ignoring the partyTradeSide feature added in FpML 4.2.
A buyerPartyReference and a sellerPartyReference may point either to a tradeSide or a Party. This is the decision of the MWG. However the schema constraint rules say it must always be a party.
The incorrect rules are shared-12 and shared-13.
The correct rule should be that for shared-12 and shared-13 the references should be either to a party or to a tradeSide.
Ultimately in 5.0 the MWG wished to change buyerPartyReference and sellerPartyReference to buyerTradeSideReference and sellerTradeSideReference, but for 4.2 they wanted to maintain backwards compatability.
This is a big problem as even the FpML 4.2 examples fail validation against the 4.2 schema constraint rules.
Notes:
hpegeron
10/19/05 10:30 am
To correct the issue with being excluded as an acceptable substitute for a within instance documents,
shared-12 validation rule now reads:buyerPartyReference anywhere in the document, @href shall match the @id attribute of a party element or the @id attribute of a tradeSide element.
For
and shared-13 validation rule now reads:sellerPartyReference anywhere in the document, @href shall match the @id attribute of a party element or the @id attribute of a tradeSide element.
For