Project

Profile

Help

Support #5942

Updated by Michael Kay over 1 year ago

If I have an XML document  

 ``` 
 * <EmptyDoc />* 
 ``` 

 and I perform the following test 

 ``` 
 *<xsl:if test="EmptyDoc/text()=''">* 
 ``` 

 that test is TRUE in 9.8.x.x but it is FALSE in 9.9.x.x and 11.5 

 I can see the reasoning behind the change (there is no text node so it cannot be equal to "") and I can see the impossibility in you changing this back after so much time but it is a bit of a headache for me given the 300+ services I am maintaining that could all suffer from this when I upgrade to a more current Saxon version. 

 Are there any pointers you could give me about how to handle this? 
 Like: 
 - is there I flag I can provide that reinstates previous behaviour? 
 - what kind of statements also to look for? 

 Any help is really appreciated, thanks in advance 

 SaxonEE on Java

Back