@Test
public void testTargetElementMultiNamespace() throws Exception {

	String namespaceDefs="urn:defns2";
	String targetElement="XDOC";
	 
	NodeSetFilter nodeSetFilter = new NodeSetFilter(XmlUtils.getNamespaceMap(namespaceDefs), targetElement, true, false, null) {
		@Override
		public void startNode(String uri, String localName, String qName) throws SAXException {
			String msg = "before node ["+qName+"]";
			comment(msg.toCharArray(), 0, msg.length());
		}
		@Override
		public void endNode(String uri, String localName, String qName) throws SAXException {
			String msg = "after node ["+qName+"]";
			comment(msg.toCharArray(), 0, msg.length());
		}
		
		
	};
	String document=TestFileUtils.getTestFile("/NodeSetFilter/NoDuplicateNamespaces/xdocs.xml");
	String expected=TestFileUtils.getTestFile("/NodeSetFilter/NoDuplicateNamespaces/out.txt");
			
	testNodeSetFilter(nodeSetFilter, targetElement, false, document, expected);
}