private static void checkString(AnnotationHolder holder, XPathString string) {
    if (!string.isWellFormed()) {
      holder.newAnnotation(HighlightSeverity.ERROR, XPathBundle.message("annotator.error.malformed.string.literal")).create();
    }
  }
private static void checkString(AnnotationHolder holder, XPathString string)