[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Ignoring ambiguous matches

Subject: Re: Ignoring ambiguous matches
From: Ihe Onwuka <ihe.onwuka@xxxxxxxxx>
Date: Thu, 13 Feb 2014 01:19:25 +0000
 Re: Ignoring ambiguous matches
hmmmm thinking about that for a moment that cunning plan will probably
not work . next-match applies the next best matching template rule, if
the next best was at the same priority then whats to stop it going
into an infinite loop - unless it is implemented not to apply the same
rule more than once.

So it looks like some means of establishing different priority -
whether by template priority or import hierarchy is necessary.

Then again who is to say (the spec) that next best necessarily
excludes rules at the same priority

On Thu, Feb 13, 2014 at 1:06 AM, Ihe Onwuka <ihe.onwuka@xxxxxxxxx> wrote:
> I am about to write several template rules that will all match the
> same node but will each apply (or try to apply) a different edit.
>
> I don't care the order in which these are applied as long as each gets
> a shot at applying it's edit.
>
> I was wondering whether I can just ignore the ambiguous match warnings
> and be confident that everything is A - ok or whether I have to
> diligently invent template priorities to prevent that.

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.