|
From: Joe W. <jo...@gm...> - 2014-06-23 21:31:17
|
Hi all,
I am getting a strange error in eXide on a simple XPath statement:
let $x := <x><y/><z/></x>
return
$x/y[following-sibling::element()[1]/self::z]
I would expect the results to return <y/> -- since its first
following-sibling element is a z element. Saxon (embedded in oXygen
15) returns <y/>.
Instead, I get this error: "Cannot compile xquery: err:XPST0005
Self::{}z called on set of nodes which do not contain any nodes of
this name. [at line 3, column 48, source: String]"
Is this a bug in eXist-db?
Thanks,
Joe
|