public class XMLTestCaseHelper {
public static XMLReader getXMLReader()
throws ParserConfigurationException, SAXException {
SAXParserFactory factory = new SAXParserFactoryImpl();
factory.setNamespaceAware(true);
SAXParser parser = factory.newSAXParser();
return parser.getXMLReader();
}