[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: FpML-VAL FW: New Validation Rule Set for FX



I too don't like the idea of a validation rule for a constraint that can
be implemented with a basic construct of XML schema.

I think it should be implemented in the schema. This is strictly not a
backwards compatible change, but after all a document with a negative
rate is wrong.

Alternatively we could keep this constraint (and eventually others) as a
validation rule for now and implement it in the schema in the next major
release.

BTW, the rule reads "non-negative", is zero an acceptable value?


Perhaps this intersects with the AWG discussion on deprecated features.
A deprecated element in the schema is optional and marked as deprecated.

We could have a set of rules that enforce the absence of deprecated
elements. When the deprecated structure is removed in a new major
version of the schema, also the relative validation rule is removed.

In the case of the FX rate, what's deprecated is the use of a value less
than zero.


-daniel

-----Original Message-----
From: valwg@xxxxxxxx [mailto:valwg@xxxxxxxx] On Behalf Of Andrew Jacobs
Sent: 03 January 2008 13:49
To: valwg@xxxxxxxx
Subject: RE: FpML-VAL FW: New Validation Rule Set for FX


Christian,

The problem here is that the FX products where first published in FpML
3.0
in our dim and distant DTD days. Range checking on values was not
possible
in DTDs and no one thought to add it to the schema version when it was
translated.

I completely agree that we should be using the schema for such things in
future versions of FpML but it's a bit too late to do anything with the
FX
models as they currently stand so I've included these constraints as
rules
in the document.

- Andrew

-----Original Message-----
From: valwg@xxxxxxxx [mailto:valwg@xxxxxxxx] On Behalf Of Christian
Nentwich
Sent: 03 January 2008 13:42
To: valwg@xxxxxxxx
Subject: Re: FpML-VAL FW: New Validation Rule Set for FX


Andrew,

quick comment before I review this properly: any rule that mandates 
values as non-negative should be enforced in the schema, unless you can 
see reasons why they are not?

regards,

Christian

Andrew Jacobs wrote:
> 2nd try.
>  
> -----Original Message-----
> *From:* Andrew Jacobs [mailto:andrew.jacobs@xxxxxxxxxxxxxx]
> *Sent:* 03 January 2008 12:08
> *To:* 'vwg@xxxxxxxx'
> *Cc:* 'Karel Engelen'; 'Ned Micelli';
> 'rick.schumacher@xxxxxxxxxxxxxxxxxxxxx'
> *Subject:* New Validation Rule Set for FX
>
> Please find attached a proposal for 41 new validation rules for the
> current FX product set.
>
> Thanks
>  
> Andrew Jacobs
> Director & CTO
> HandCoded Software Ltd
> Mob: +44 (0)7710 304239
>  

------------------------------------------------------------------------
----
---
To unsubscribe: Email majordomo@xxxxxxxx with a blank subject line In
the
body include the line: unsubscribe valwg youremail@address To view
archives:
http://www.fpml.org/_wgmail/_valwgmail/threads.html


------------------------------------------------------------------------
-------
To unsubscribe: Email majordomo@xxxxxxxx with a blank subject line
In the body include the line: unsubscribe valwg youremail@address
To view archives: http://www.fpml.org/_wgmail/_valwgmail/threads.html
------------------------------------------------------------------------
For important statutory and regulatory disclosures and more information about Barclays Capital, please visit our web site at http://www.barcap.com.

Internet communications are not secure and therefore the Barclays Group does not accept legal responsibility for the contents of this message.  Although the Barclays Group operates anti-virus programmes, it does not accept responsibility for any damage whatsoever that is caused by viruses being passed.  Any views or opinions presented are solely those of the author and do not necessarily represent those of the Barclays Group.  Replies to this email may be monitored by the Barclays Group for operational or business reasons.

Barclays Capital is the investment banking division of Barclays Bank PLC, a company registered in England (number 1026167) with its registered office at 1 Churchill Place, London, E14 5HP. This email may relate to or be sent from other members of the Barclays Group.
------------------------------------------------------------------------

-------------------------------------------------------------------------------
To unsubscribe: Email majordomo@xxxxxxxx with a blank subject line
In the body include the line: unsubscribe valwg youremail@address
To view archives: http://www.fpml.org/_wgmail/_valwgmail/threads.html