Project

Profile

Help

Bug #4300

Updated by Michael Kay over 4 years ago

We are doing a saxon:deep-equal via the following statements: 

 
 ~~~ java 
		 XPathExecutable xx = xpath.compile("saxon:deep-equal($vmgv:node1, $vmgv:node2, () ,'w?')"); 


		 XPathSelector selector = xx.load(); 
		 selector.setVariable(new QName("urn:us:xpath:var", "node1"), node1); 
		 selector.setVariable(new QName("urn:us:xpath:var", "node2"), node2); 

		 XdmAtomicValue deepEqualResult = (XdmAtomicValue) selector.evaluateSingle(); 
 ~~~ 

 
 In a unittest warnings are showed in the console when there are differences. 
 How can I get these warnings in my application-code? 
 An errorlistener can be set on a XSLT compiler but not on the XPathCompiler.

Back