|
Assiging to Yash T., per the JIRA meeting on Nov. 1, 2005
Per the JIRA meeting on Oct 16, 2005, Yash has agreed to look at this one again.
So Brian, was Yash able to do it? :)
Yash is going to look at this one. If OK it should make the 2.7.1 release, but this will probably be the last fix in the door for that release. - Brian
Actually Yash punted the problem to another committer, but the ball bounced off them and I'm catching it before it falls on the ground.
I have some review comments on the patch so far: Basically good so far. Curious that the patch gets rid of a few new Boolean(true) sort of things and replaces them with Boolean.TRUE, which is a good thing, ... but then the patch goes on to add this in TransformerFactoryImpl: return new Boolean(_enableInling) rather than this: if (_enableInlining) return Boolean.TRUE; else return Boolean.FALSE; Minor stuff over all. A bit more review of mine needed before I approve/commit a slightly modified version of the patch. Attaching a slightly modified patch. The changes are mostly superficial.
A little more setting of the inlining value from one object to another, not just when the value is true, but regardless of the value. The old code is a little too smug about knowing the default value (false) and so not bothering to set it when it is false. Other than that I'm convinced that default value of true for the inlining flag inside org/apache/xalan/xsltc/compiler/Stylesheet was wrong. The default of similar flags in these classes: org/apache/xalan/xsltc/compiler/XSLTC org/apache/xalan/xsltc/trax/TransformerFactoryImpl was already false, and the value in StyleSheet was over-ridden by the TransformerFactory anyway, so that is a moot point. No performance hits by setting the default value to false like the other two. I approve the change and am going to commit this modified patch. Problem fixed. I committed the fix to the main development code branch, and it will shortly make it under 2.7.1 as well.
Changing affected version to 2.7, and fixed version to 2.7.1
Would the originator of this issue please verify that this issue is fixed in the 2.7.1 release, by adding a comment to this issue, so that we can close this issue.
A lack of response by February 1, 2008 will be taken as consent that we can close this resolved issue. Regards, Brian Minchau |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
* Change default value of Stylesheet._templateInlining to false, to match XSLTC._templateInlining
* Add XSLTC.isTemplateInlining()
* Initialize template inlining in TemplatesHandlerImpl.<init>
* Propagate template inlining value to created Stylesheet object
* Support ENABLE_INLINING attribute in TransformerFactoryImpl.getAttribute()