public void nodeToStringResultWithNameSpaces() throws Exception
{
registerNamespaces();
final String expression = "//f:width";
final XPathExtractor extractor = initialiseExtractor(expression, XPathReturnType.STRING);
// just make code coverage tools happy
assertEquals("Wrong expression returned.", expression, extractor.getExpression());
final Document doc = getDocumentForString(TEST_XML_WITH_NAMESPACES);
final Object objResult = extractor.transform(doc);
assertNotNull(objResult);
final String result = (String)objResult;
assertEquals("Wrong value extracted.", "80", result);
}