- From: <bugzilla@wiggum.w3.org>
- Date: Mon, 15 Sep 2008 20:59:11 +0000
- To: public-qt-comments@w3.org
http://www.w3.org/Bugs/Public/show_bug.cgi?id=5975
zhen hua liu <zhen.liu@oracle.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |zhen.liu@oracle.com
--- Comment #4 from zhen hua liu <zhen.liu@oracle.com> 2008-09-15 20:59:11 ---
If attribute content needs to be searched, the attribute node has to be
expliclty stated in the search context.
For example
let $x = <roo><a b="foo bar">text</a></r>
return
$x/a/@b ftcontains "foo"
This
searches the content of attribute @b which should return true
let $x = <roo><a b="foo bar">text</a></r>
return
$x/a ftcontains "foo"
This searches the atomization of element node "a", which is "text", it does
NOT search content of attribute "b", so this returns false.
--
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Monday, 15 September 2008 20:59:46 UTC