public void testCreateDOMHandler()
{
try
{
final SAXParser parser = (SAXParser)manager.lookup( SAXParser.ROLE );
final DOMHandlerFactory handlerFactory = (DOMHandlerFactory)manager.lookup( DOMHandlerFactory.ROLE );
final DOMHandler handler = handlerFactory.createDOMHandler();
parser.parse( new InputSource( IN ), handler );
final Document document = handler.getDocument();
final Element root = document.getDocumentElement();
assertEquals( "Wrong root element", "test:root", root.getNodeName() );