private static boolean isTrueXml(FileType type) {
    return type == XHtmlFileType.INSTANCE || type == StdFileTypes.JSPX || type == XmlFileType.INSTANCE;
  }
private static boolean isTrueXml(FileType type)