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

Re: Difference in priority of node() and *

Subject: Re: Difference in priority of node() and *
From: "Mukul Gandhi" <gandhi.mukul@xxxxxxxxx>
Date: Sat, 16 Feb 2008 18:36:42 +0530
Re:  Difference in priority of node() and *
Thanks Mike for your thoughts. Kindly see my few remarks below.

On Feb 16, 2008 2:38 PM, Michael Kay <mike@xxxxxxxxxxxx> wrote:
> It's certainly not a bug - there was a conscious decision that the default
> priorities could not reflect subsumption relationships in all cases. Some
> might consider that the design could be improved, but it's the kind of thing
> that one can't change retrospectively for reasons of compatibility.

I agree, that providing backward compatibility is important. If we
swap suddenly the default priorities of * and node() patterns, then
lot of legacy code would/might break when supplied to new processors;
and that's certainly not a good idea.

But if we/everybody is convinced, that what I have said (i.e. default
priority of * should be higher than node() ) is correct; and that this
is a better design, then in future version of the language, we can
deprecate the old idea, and adopt the new design.

If you think, my points are valid, I can submit this idea in bugzilla ...

Mukul Gandhi

Current Thread


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.
First Name
Last Name
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.