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

Re: 99 bottles of beer

Subject: Re: 99 bottles of beer
From: "Andrew Welch" <andrew.j.welch@xxxxxxxxx>
Date: Tue, 6 Feb 2007 09:41:24 +0000
Re:  99 bottles of beer
On 2/5/07, Michael Kay <mike@xxxxxxxxxxxx> wrote:
> Moreover, I found that
> (1 to 2) != 10 returns false, and (1,2) != 10 returns
> true.... I am really missing something here, this must be a
> faq somewhere :S  ).


Well, I'm missing something too because (1 to 2) and (1,2) are the same sequence.

And Andrew Welch got it wrong in his reply too...

Yup, sorry about that - it seemed a plausible enough explanation for Saxon's behaviour (I've learnt that you can usually discount a Saxon bug early on). I too read the spec but couldn't find the part explaining this.

Interestingly if you change the version number to 1.0 you get true for
(1 to 2) != 10, so it does point towards a bug.

Equally a sequence of booleans *doesn't* have an EBV (or any sequence
starting with a boolean), so (true(), true()) doesn't return false.

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-2011 All Rights Reserved.