UPDATE: Problem may not be with the compiled stylesheet.
We're trying to use an extension that implements the ExtensionsElementFactory class. However, HE does not include this class in the jar. etc..
In other words, I cannot use the extensions with HE, even if the stylesheet is a normal XLST file (not compiled).