Hi All,
    This is Revathi.K of SIP Technologies & Exports Ltd, i have attempted to fix issue 15636 of
project xalan-java which is in open state. Please find attached the patch for the issue.

Issueid -                     15636

IssueDescription -     If a global parameter for a translet is set with Transformer.setParameter and the parameter's name contains dots (for example $prefs.lang), the translet doesn't get the value which is set using Transformer.setParameter().

Fix -                          From AbstractTranslet.java, i have created a temporary string which stores the parameter name which is set when the stylesheet is compiled into a translet . I have replaced all $dot$ and $dash$ in the string with "." or "-" and then the resulting string is compared with the parameter name which is set using Transformer.setParameter . If the names match then the new value will be set for the global parameter .

File : AbstractTranslet.java           package : org.apache.xalan.xsltc.runtime

I would be happy if you let me know the status of the patch after review.

thanks & regards,
-Revathi K
SIP Technologies & Exports Ltd.
 


Attachment: 15636.jar
Description: application/java-archive

begin:vcard 
n:K;Revathi
x-mozilla-html:FALSE
org:SIP Technologies and Exports Ltd;Core Technology Group
adr:;;;;;;
version:2.1
email;internet:[EMAIL PROTECTED]
title:Software Engineer
x-mozilla-cpt:;13088
fn:Revathi K
end:vcard

Reply via email to