CRXDE Lite Xpath contains() query only returning results when property is specified
I am trying to run a query against any node inside the path I specify, returning any nodes that contain any property containing the string 'foo'. To do so, I use this query suggested by CRXDE Lite:
/jcr:root/content/path//*[jcr:contains(., 'foo')] order by @6655266:score
I get no results.
But, if I specify a property, let's say html:
/jcr:root/content/path//*[jcr:contains(@html, 'foo')] order by @6655266:score
I get results.
Doesn't the '.' mean to search all properties? If so, why does it not return the results that I receive when I specify a property?