docs: public static @Nonnull XQuery parse(@WillClose InputSource in) throws IOException {
          try {
              DocumentBuilder db = DocumentBuilderFactory.newInstance().newDocumentBuilder();
              return new XQuery(db.parse(in));
          } catch (ParserConfigurationException|SAXException ex) {
              throw new IOException("Could not parse XML", ex);
          }
      }