View Single Post
03/10/15, 10:41 AM   #8
votan
 
votan's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2014
Posts: 577
I think the important thing is this:
Exception in thread "JavaFX Application Thread" org.apache.commons.jxpath.JXPathInvalidSyntaxException: Invalid XPath: 'drive-configs/drive-config[@drive=\'/Volumes/Andrew\'s Macbook HD\']'. Syntax error after: 'drive-configs/drive-config[@drive=\''
at org.apache.commons.jxpath.ri.Parser.parseExpression(Parser.java:63)

Because the yellow single quotes are intended to be part of the XPATH-Query and should not be escaped.
Otherwise quotes are missing and this is a syntax error.
I guess, you replace single quotes in the whole query instead of the values only.
  Reply With Quote