title: Using XPath Contains and getting 'missing right parenthesis' error
body: <p>I wish to use the xpath function 'contains' to extract data that contains 'Potter' but I keep getting a 'java.sql.SQLSyntaxErrorException: ORA-00907: missing right parenthesis' error, any help?</p>
  
  <pre><code>result = stmt.executeQuery("SELECT a.book.extract('/book/author/text()').getStringVal() "
                  + "FROM BOOK a "
                  + "WHERE a.book.existsNode('/book/title[contains(text(), 'Potter')]') = 1 ");
          System.out.println("\n------------Query 8 Results------------");
          System.out.println("Authors of Books whose title contains 'Potter': \n");
          while(result.next()){
              System.out.println(result.getString(1));
          }//end while
  </code></pre>