You are probably right.
> $doc//*[text() contains text {'gauguin','pissarro','monet'}all ] I would assume that none of the text nodes in your document contains all three names.