DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25506>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25506

null stylesheet parameters bring in garbage using XSLTC

           Summary: null stylesheet parameters bring in garbage using XSLTC
           Product: XalanJ2
           Version: CurrentCVS
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Xalan-Xsltc
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
                CC: [EMAIL PROTECTED]


Using Sun JRE 1.4.2-b28 and Xalan 2.5.2

Reproducible using sample program shipped with Xalan download: 
UseStylesheetParam.  Adjust program to use XSLTC and adjust the setParameter 
line to read:
transformer.setParameter("param1", null);

Output on XSLTC is:
<?xml version="1.0" encoding="UTF-8"?>
<out>Hello</out>

Output using standard processor is:
<?xml version="1.0" encoding="UTF-8"?>
<out></out>

In this small example it appears to be bringing in the "Hello" from the source 
XML.  In larger documents I have seen other odd garbage.

Reply via email to