<s3 title="Changes since &xslt4j; version 1.2.D02">
<p>We have applied a number of enhancements and bug fixes, including patches submitted by developers to <human-resource-ref idref="xalandev"/>. If you run across a problem with &xslt4j;, we strongly encourage you to write a patch and submit it to us. We will review it to make sure it doesn't break something else, and (assuming it doesn't) include it in our next release. In the interest of fixing bugs, adding enhancements, and addressing a host of thorny design issues, we sincerely want (and need!) your active participation in the ongoing development of Xalan.</p>
<ul>
  <li>&xslt4j; now suports UTF-16 output encoding.<br/><br/></li>
  <li>We incorporated an updated BSF (support for extension elements and functions) that supports Mozilla Rhino js.jar 1.5. The new bsf.jar replaces the older bsf.jar and bsfengines.jar. <em>If you are using Javascript extensions, you must now use js.jar 1.5. Mozilla Rhino 1.4 R3 is no longer supported.</em><br/><br/></li>
  <li>Costin Manolache submitted a patch that isolates all BSF-dependent code in org.apache.xalan.xpath.XSLTJavaClassEngine.<br/><br/></li>
<li>We have added a custom processing instruction that you can use to instruct the &xslt4j; processor not to cache an XML document.<br/><br/>
To use this processing instruction, declare the following namespace in the stylesheet element:<br/>
&nbsp;&nbsp;<code>xmlns:xalan="http://xml.apache.org/xslt"</code><br/>
and include the following processing instruction in an xsl:for-each loop or xsl:templates-apply where you are using the document() function to read external documents:<br/>
&nbsp;&nbsp;<code>&lt;?xalan:doc-cache-off?&gt;</code><br/><br/></li>
  <li>Costin Manolache submitted a new parser liaison class (org.apache.xalan.xpath.xml.JaxpLiaison) and patches to a number of existing classes so that you should be able to use &xslt4j; with any XML parser that implements <resource-ref idref="jaxp"/>.<br/><br/></li>
  <li>We modified SimpleNodeLocator to fix a problem matching [predicate]/node patterns.<br/><br/></li>
  <li>We modified ElemNumber.java to make accessing the Xalan resource bundle thread safe.<br/><br/></li>
  <li>We have improved the performance of keys by no longer allowing &lt;xsl:key&gt; elements to use key() functions in the match or use attribute.<br/><br/></li>
  <li>Gary Peskin submitted a patch that fixes step pattern root matches.<br/><br/></li>
  <li>We fixed org.apache.xalan.xslt.TemplateList to match wildcard patterns.<br/><br/></li>
  <li>Xalan now correctly observes import precedence when it evaluates a variable declared and set in more than one
   stylesheet.<br/><br/></li>
</ul>

</s3>