This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
Is this a legal xquery with full text search? ("abc", "def", "ghi") ftcontains "abc" Note that for function fts:FTContainsExpr(), the $searchContext is a sequence of atomic values, not a sequence of nodes. If $ignoreNodes is not empty, then the 'is' operation in fts:reconstruct() should raise errors for atomic values because it is illegal to do 'is' xquery operation on atomic values. However, if $ignoreNodes is empty, then I think it is OK to do search on atomic values even though the 4.1 Tokenization process stated that 'the process of converting the string value of a node to a sequence of token occurrences' only cover the node case, not atomic value case.
it is a legal query.
The working draft 18 May 2007 is ambiguous for this. However, the next versoin of the spec will fix this.