protected HierarchicalStreamDriver createDriver() {
System.setProperty(XMLInputFactory.class.getName(), MXParserFactory.class.getName());
System.setProperty(XMLOutputFactory.class.getName(), XMLOutputFactoryBase.class.getName());
// careful, called from inside base class constructor
qnameMap = new QNameMap();
StaxDriver driver = new StaxDriver(qnameMap);
driver.setRepairingNamespace(false);
return driver;
}