public static void parse(final StdXMLReader r, final IXMLBuilder builder) {
    StdXMLParser parser = new StdXMLParser();
    parser.setReader(r);
    parser.setBuilder(builder);
    parser.setValidator(new EmptyValidator());
    parser.setResolver(new EmptyEntityResolver());
    try {
      parser.parse();
    }
    catch (XMLException e) {
      if (e.getException() instanceof ParserStoppedException) {
        return;
      }
      LOG.debug(e);
    }
  }
public static void parse(final StdXMLReader r, final IXMLBuilder builder)