RE: (ESED-813) XOR operator in XPath

I should stress that my opinion isn't the last word on the matter. Unless
you want to withdraw the suggestion, it will be considered by the working
group as a whole.
 
Regards,

Michael Kay
http://www.saxonica.com/
http://twitter.com/michaelhkay 


  _____  

From: McDOWALL, Brent [mailto:Brent.McDOWALL@suncorp.com.au] 
Sent: 22 April 2010 06:31
To: 'Michael Kay'; 'public-qt-comments@w3.org'
Cc: EasySuite Operations
Subject: RE: (ESED-813) XOR operator in XPath



Hi Michael,

 

That wasn't really the response I was after, but thank you for the
suggestion and taking the time to look at the matter.

 

Regards,

 


easysuite_logo_small_just_text.png

BRENT MCDOWALL  |  System Analyst

EasySuite | Shared Services | BT Corporate Systems

Suncorp | Level 19 Suncorp Plaza | cnr Turbot & Albert Street, Brisbane 4000

ext: 21307 | tel: (07) 3362 1307 | fax: (07) 3362 2966 | ipc: IT042

 

 

From: Michael Kay [mailto:mike@saxonica.com] 
Sent: Wednesday, 21 April 2010 16:47
To: McDOWALL, Brent; public-qt-comments@w3.org
Cc: EasySuite Operations
Subject: RE: (ESED-813) XOR operator in XPath

 

 

However, for a user of XPath, I think providing the operator that directly
translates to the concept a user might be looking for, rather than a
'logically equivalent' operator, is a nice thing to do. It seems a simple
enough translation, but if I can spare my business users of XPath from
needing to make one more small leap in their boolean algebra cogitations,
then I'd be happy to do so. 

 

 

Well, you can always wrap it in a function  

 

declare function f:xor($a as xs:boolean, $b as xs:boolean)  as xs:boolean {

    $a != $b

}

 

Regards,

Michael Kay
http://www.saxonica.com/
http://twitter.com/michaelhkay 


  _____  

This e-mail is sent by Suncorp-Metway Limited ABN 66 010 831 722 or one of
its related entities "Suncorp".
Suncorp may be contacted at Level 18, 36 Wickham Terrace, Brisbane or on 13
11 55 or at suncorp.com.au.
The content of this e-mail is the view of the sender or stated author and
does not necessarily reflect the view of Suncorp. The content, including
attachments, is a confidential communication between Suncorp and the
intended recipient. If you are not the intended recipient, any use,
interference with, disclosure or copying of this e-mail, including
attachments, is unauthorised and expressly prohibited. If you have received
this e-mail in error please contact the sender immediately and delete the
e-mail and any attachments from your system.
If this e-mail constitutes a commercial message of a type that you no longer
wish to receive please reply to this e-mail by typing Unsubscribe in the
subject line.

Received on Thursday, 22 April 2010 08:55:34 UTC