[xsl] index-of and empty stuff

Subject: [xsl] index-of and empty stuff
From: Ihe Onwuka <ihe.onwuka@xxxxxxxxx>
Date: Fri, 20 Dec 2013 17:50:47 +0000
if I am searching a sequence of strings with index-of having the empty
string as the second argument will give me 0.

Why throw  an error if the 2nd argument is empty sequence,
irrespective of the type of the first argument.

Isn't 0 the obvious answer here.

Current Thread