W3C home > Mailing lists > Public > xsl-editors@w3.org > January to March 2001

RE: conflict resolution issue

From: Matthew Bentley <matthew.bentley@brookers.co.nz>
Date: Sun, 11 Feb 2001 22:19:24 -0500 (EST)
Message-ID: <A3BEF7539574D4119E61001083F94D780F3269@WELBKSEMS02>
To: "'mhkay@iclway.co.uk'" <mhkay@iclway.co.uk>, xsl-editors@w3.org
>The trouble about this is that there are many cases where it's obvious to
>the stylesheet author that one match pattern is more selective than
>but where it requires a fair bit of analysis to deduce this. For example

>match="para[p and q]"
>  implies
>match="para[p[1] or q[last()]]"
>  but does not imply
>match="para[p[2] or q[last()-1]]"

Perhaps, but the case of 'use the rule with the most predicates' (e.g.
match="a/b[c]" overrides match="a/b" would be fairly easy to implement (I

Received on Monday, 12 February 2001 08:08:29 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:44:21 UTC