// The AtributeNoramilizingContentHandler modifies the base attribute
// so that it is relative to the working dir. If we didn't do this
// the test case would be dependant on and absolute file path.
ContentHandler handler =
new AttributeNormalizingContentHandler(sHandler);
// create the actual parser
XMLReader parser = XMLReaderFactory.createXMLReader(false);
parser.setContentHandler(handler);