try {
LOGGER.finest("about to create parser");
SAXParserFactory factory = SAXParserFactory.newInstance();
SAXParser parser = factory.newSAXParser();
ParserAdapter adapter = new ParserAdapter(parser.getParser());
LOGGER.finest("setting the content handler");
LOGGER.finest("content handler = " + documentFilter);
adapter.setContentHandler(documentFilter);
LOGGER.finest("about to parse");
LOGGER.finest("calling parse on " + requestSource);
adapter.parse(requestSource);
LOGGER.fine("just parsed: " + requestSource);
} catch (SAXException e) {
e.printStackTrace(System.out);
throw new WfsException(e, "XML getFeature request SAX parsing error",
XmlRequestReader.class.getName());