Lyteck,I didn't check the schema but as far as I remember, instead of defining the context at the messaget type level, if you define the rule for two contexts, Novation and ContractNovation, you'll get the same results.Best,MarcOn Tue, Apr 15, 2008 at 4:13 PM, Lyteck Lynhiavu <LLynhiavu@xxxxxxxx> wrote:
************************************************************************************************************************** The information contained in either this email and, if applicable, the attachment, are confidential and are intended only for the recipient. The contents of either the email or the attachment may not be disclosed or used by anyone other than the addressee. If you are not the intended recipient(s), any use, disclosure, copying, or distribution is prohibited and may be unlawful. If you have received this communication in error, please notify us by e-mail at isda@xxxxxxxx then delete the e-mail and all attachments and any copies thereof. This communication is part of an ISDA process and is not intended for unauthorized use or distribution. **************************************************************************************************************************http://www.fpml.org/issues/view.php?id=560
two steps…
1. I had an action item to identify messages in which FirstPeriodStartDate can exist:
NotificationMessage\novation (of type ContractNovation which uses ContractNovationDetails.model)
1. ContractNovated
2. ContractNovatedCancelled
NovationResponseMessage\NovationMessage.model
3. NovationConsentGranted
4. NovationConsentRefused
NovationRequestMessage\NovationMessage.model
5. NovationConsentRequest
6. RequestNovationConfirmation
7. NovateTrade
NovationNotificationMessage\NovationMessage.model
8. NovationAlleged
9. NovationConfirmed
10. NovationMatched
11. TradeNovated
These 11 messages use FirstPeriodStartDate indirectly through:
· NovationMessage.model\novation\firstPeriodStartDate (of type FirstPeriodStartDate)
· NovationDetails.model\firstPeriodStartDate (of type FirstPeriodStartDate)
· ContractNovationDetails.model\firstPeriodStartDate (of type FirstPeriodStartDate)
(see attached message object model PDF for an overview of the messages)
· Other unrelated local elements FYI
o PeriodicPayment\firstPeriodStartDate (of type xsd:date) (fpml-cd-4-4.xsd)
o CalculationPeriodDates\firstPeriodStartDate (of type AdjustableDate) (fpml-ird-4-4.xsd)
2. As discussed in today's call, The plan is to deprecate ref-5 and create bp-2 with 11 contexts (is that actually possible to create 1 validation rule with multiple contexts?) which states:
bp-2
Context: ContractNovated, ContractNovatedCancelled, NovationConsentGranted, NovationConsentRefused, NovationConsentRequest, RequestNovationConfirmation, NovateTrade, NovationAlleged, NovationConfirmed, NovationMatched, TradeNovated
Rule: The novation/firstPeriodStartDate/@href attribute must match the party/@id attribute.
Please review/confirm. If there are no objections by the end of the week, I will execute.
Lyteck