I am trying to retrieve the authors from my XML documents but some of the authors have apostrophe's in their names so the results throw an error. Find below the xquery code.public ArrayList getArrayListOfAuthors(){\[code\] String query = "for $x in fn:distinct-values(doc(\"" +xml_file_name+ "\")//author) " + "order by $x "+ "return $x"; System.out.println("XQuery query:"+query); ArrayList<String> myList = new ArrayList<String>(); try{ XQDataSource ds = new SaxonXQDataSource(); XQConnection conn = ds.getConnection(); XQExpression exp = conn.createExpression(); XQSequence seq = exp.executeQuery(query); int i = 1; while (seq.next()) { i++; //System.out.println(seq.getAtomicValue()); myList.add(seq.getAtomicValue()); } //System.out.println("\n== Total number of authors is "+i+" =="); seq.close(); } catch (XQException err) { System.out.println("Failed as expected: " + err.getMessage()); } return myList;}\[/code\]I get this kind of errorXPST0003 XQuery syntax error near #...e $y/author = 'Kieran O'Neill'#: Unmatched quote in expressionError on line 1 column 109