docs: protected XMLStreamReader createStreamReader(InputStream input) throws XMLStreamException {
          if (inputFactory == null) {
              inputFactory = XMLInputFactory.newInstance();
          }
          return inputFactory.createXMLStreamReader(input);
      }