code: private SAXParserFactory newSAXParserFactory( ValidationSet pValidationSet )
      {
          SAXParserFactory spf = SAXParserFactory.newInstance();
          spf.setValidating( pValidationSet.isValidating() );
          if ( pValidationSet.isValidating() )
          {
              try
              {
                  spf.setFeature( "http://apache.org/xml/features/validation/schema", true );
              }
              catch ( SAXException e )
              {
                  // Ignore this
              }
              catch ( ParserConfigurationException e )
              {
                  // Ignore this
              }
          }
          else
          {
              try
              {
                  spf.setFeature( "http://apache.org/xml/features/nonvalidating/load-external-dtd", false );
              }
              catch ( SAXException e )
              {
                  // Ignore this
              }
              catch ( ParserConfigurationException e )
              {
                  // Ignore this
              }
          }
          spf.setNamespaceAware( true );
          return spf;
      }
docs: Creates a new instance of {@link SAXParserFactory}.
  
  @param pValidationSet The parser factories configuration.
  @return A new SAX parser factory.