This is correct according to the language definition. If either operand is an empty sequence, the "eq" operator returns an empty sequence, while the "=" operator returns false.

Michael Kay
Saxonica


On 04/10/2012 10:10, Virendra Ray wrote:
Hi,

When I use XPathSelector to evaluate result for '$v1 eq ()' , it is not giving any result using EvaluateSingle()
But when I change the expression as '$v1 = ()', it checks properly and give result.
what change should I do to make eq work in above expression.
I am using Saxon in .Net

Thanks
Virendra

--


------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev


_______________________________________________
saxon-help mailing list archived at http://saxon.markmail.org/
saxon-help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/saxon-help