[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: FpML-VAL solution for 559.
Allowing a model group as context is my preferred solution. We are making
increasing use of groups in the schema these days and I don't like the idea
of explicitly listing all the occurances in the rules.
Andrew
-----Original Message-----
From: valwg@xxxxxxxx [mailto:valwg@xxxxxxxx] On Behalf Of
matthew.d.rawlings@xxxxxxxxxxxx
Sent: 16 April 2008 08:59
To: valwg
Subject: Re: FpML-VAL solution for 559.
Hi Christian -
I agree on your analysis. It was discussed at the VWG and I was asked to
make a proposal without using the parent or ancestor axis. That's what I
did.
In the end it doesn't buy much as the risks of using ancestor and parent
axis are of picking up nodes by accident, which is unlikely because the
xs:group contents are included by name.
The problem with making the context an xs:group is that it isn't possible to
address it via XDM, PVSI, etc.. This isn't a barrier, just inconvenient.
Either we put the rule on the group or we enumerate everywhere the group is
used as a context. Either choice is acceptable to me.
Matthew +44 7917596827
----- Original Message -----
From: Christian Nentwich [christian@xxxxxxxxxxxxxxxx]
Sent: 04/15/2008 11:06 PM CET
To: valwg@xxxxxxxx
Subject: Re: FpML-VAL solution for 559.
Matthew,
your solution using the sibling axis works perfectly well, but is
completely equivalent to using ".." as far as the constructs in question
are concerned (presumably we don't care much if the element is a
following or preceding sibling, and no groups allow both).
I'm not sure it will do much except ensure that the reader has to know
XPath axis syntax? At least ".." is familiar to anyone who has ever seen
a command line or URL.
As a lazy alternative, can't we just say "Context: PayerReceiver.model"
and let implementers work it out?
regards,
Christian
matthew.d.rawlings@xxxxxxxxxxxx wrote:
>
> Dear VWG Members -
>
> As requested at today's meeting I published a solution for
> http://www.fpml.org/issues/view.php?id=559 online.
>
> Matthew Rawlings
> +44 7917 596 827
> ----------------------------------------------------------------------
> --
>
> This communication is for informational purposes only. It is not
> intended as an offer or solicitation for the purchase or sale of any
> financial instrument or as an official confirmation of any
> transaction. All market prices, data and other information are not
> warranted as to completeness or accuracy and are subject to change
> without notice. Any comments or statements made herein do not
> necessarily reflect those of JPMorgan Chase & Co., its subsidiaries
> and affiliates. This transmission may contain information that is
> privileged, confidential, legally privileged, and/or exempt from
> disclosure under applicable law. If you are not the intended
> recipient, you are hereby notified that any disclosure, copying,
> distribution, or use of the information contained herein (including
> any reliance thereon) is STRICTLY PROHIBITED. Although this
> transmission and any attachments are believed to be free of any virus
> or other defect that might affect any computer system into which it is
> received and opened, it is the responsibility of the recipient to
> ensure that it is virus free and no responsibility is accepted by
> JPMorgan Chase & Co., its subsidiaries and affiliates, as applicable,
> for any loss or damage arising in any way from its use. If you
> received this transmission in error, please immediately contact the
> sender and destroy the material in its entirety, whether in electronic
> or hard copy format. Thank you. Please refer to
> http://www.jpmorgan.com/pages/disclosures for disclosures relating to
> UK legal entities.
>
----------------------------------------------------------------------------
---
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
-------------------------------------------------------------------------------
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