I posted this message before, but here is a recap. I am implementing a Extension Element, at end of the extension element method, I make a call to executeChildTemplates, where I may have nested extension elements.
In 2.6, I get an NPE from inside Xalan when it tries to flush the output of the ResultTree because the SAX handler is not initiated when startDocument is called.
In trying to create an example, I uses the redirect code to create nested redirect calls, but unfortunately that works just fine. The only other big difference in my code and the redirect, is that I am using DOMSource's for both the XSL and XML documents. This requires me to cobble together a more complex test example, which I will do this weekend.
What I wanted to know, does anyone have any ideas on where to look when the error occurs ???
All my code is working fine with earlier versions of Xalan.
FYI, my xsl code looks like the following, notice that it is all extension elements. at the conclusion of each extension element method, I am calling the executeChildTemplates exactly as the Redirect code is performing.
<xfe:form name="mainForm" layout-class="xfef:layout.xfeGrid"> <xfe:setParameter method="setBackground" select="'white'"/> <xfe:configureLayout num-columns="2" horiz-spacing="0" /> </xfe:form>
Thanks John G
