docs: public static boolean isVersion10ResourceAdapter(InputStream xmlStream) {
          try {
              SAXParserFactory factory = SAXParserFactory.newInstance();
              factory.setNamespaceAware(true);
              factory.setValidating(false);
              XMLReader parser = factory.newSAXParser().getXMLReader();
              SAXVersionHandler handler = new SAXVersionHandler();
              parser.setEntityResolver(resolver);
              parser.setContentHandler(handler);
              parser.parse(new InputSource(xmlStream));
              return handler.isVersion10ResourceAdapter;
          } catch (SAXException ex) {
              // Check for FFDC
          } catch (ParserConfigurationException e) {
              // Check for FFDC
          } catch (IOException e) {
              // Check for FFDC
          }
          return false;
      }