[MarkLogic Dev General] issue with XPATH

Florent Georges lists at fgeorges.org
Thu Mar 26 15:45:11 PST 2009


Geert Josten wrote:

> Though I was surprised, I now think MarkLogic Server is
> responding correctly.

  Sounds like a bug to me.  If you look at the definition of a numeric predicate (http://www.w3.org/TR/xpath20/#id-predicates, point 1.) you see that [1] is defined as [position() eq 1].  And in this expression, using = and eq is the same.

  Regards,

-- 
Florent Georges
http://www.fgeorges.org/





















      


More information about the General mailing list