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

Re: Numeric top-level predicates in patterns

Subject: Re: Numeric top-level predicates in patterns
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 02 Apr 2014 19:32:34 +0100
Re:  Numeric top-level predicates in patterns
On 02/04/2014 18:05, Abel Braaksma (Exselt) wrote:


"Sibling numerical predicate" isn't one of your defined terms. I
assume you mean a predicate of [1] preceded by another numerical
predicate.


I thought it would be clear from the definitions of sibling
predicates and numerical predicates. But indeed, I meant a numerical
predicate that is also a sibling predicate, that has the effective
static numeric value of 1 (the integer, not the string), such like

That is why I think Michael defined it as he did. [1] is only redundant if the preceding sequence is known to be at most 1.


So [1] is a numerical predicate and a sibling predicate in

$foo[true()][1]

but it is not redundant.


David


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.