incubator-vxquery-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Preston Carman (JIRA)" <j...@apache.org>
Subject [jira] [Created] (VXQUERY-83) General comparison fails for string and attribute query
Date Sat, 01 Dec 2012 00:07:58 GMT
Preston Carman created VXQUERY-83:
-------------------------------------

             Summary: General comparison fails for string and attribute query
                 Key: VXQUERY-83
                 URL: https://issues.apache.org/jira/browse/VXQUERY-83
             Project: VXQuery
          Issue Type: Bug
            Reporter: Preston Carman
            Assignee: Preston Carman


I have included two queries. One that works and one that does not. The only difference is
"=" vs "eq".

for $b in collection("/example-xml-full/")/bookstore/book
where $b/@category = "CHILDREN"
return $b

for $b in collection("/example-xml-full/")/bookstore/book
where $b/@category eq "CHILDREN"
return $b

Query is based on W3Schools XQuery Tutorial example xml document.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message