code: public static SAXParserFactory getSAXParserFactory() {
          if (saxParserFactory == null) {
              saxParserFactory = SAXParserFactory.newInstance();
              saxParserFactory.setNamespaceAware(true);
          }
          return saxParserFactory;
      }
docs: Get the SAX parser to use in tests.
  
  <p>Unless an instance has been given via {@link
  #setSAXParserFactory(SAXParserFactory) setSAXParserFactory}
  explicitly, the returned factory will be namespace aware.</p>
  
  @return the SAXParserFactory instance used by the {@link
  Validator Validator} to perform DTD validation