Spoke too soon.  Moving the comment didn't help. 
 
I've also changed the entity definition to eliminate the embedded <xsl:text> tags as you suggested.  Still not working.
 
I'm now using LexEv directly from within my own Java code now.  It transformed the first five files.  I'm still looking as to why the sixth one is throwing this null pointer exception.