BUG: Local XSLT parameter values are overwritten when executing an XSLT Transformation in .NET Framework v1.1 (834667)



The information in this article applies to:

  • Microsoft .NET Framework 1.1

SYMPTOMS

Local Extensible Stylesheet Language Transformation (XSLT) parameter values (that is, parameters that are defined in an XSLT template) are overwritten by global parameter values when you execute XSLT transformations by using the XslTransform Microsoft .NET XSLT processor.

This behavior occurs when local parameters and global parameters that are defined in the style sheet have the same name, and when values are passed in for the global parameters at the time that the XSLT transformation is executed.

STATUS

Microsoft has confirmed that this is a problem in the .NET Framework version 1.1 XSLT Processor.

Steps to reproduce the behavior

  1. Download the XSLTParam.exe file.

    The following file is available for download from the Microsoft Download Center:

    DownloadDownload the XSLTParam.exe package now.

    For additional information about how to download Microsoft Support files, click the following article number to view the article in the Microsoft Knowledge Base:

    119591 How to Obtain Microsoft Support Files from Online Services

    Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help to prevent any unauthorized changes to the file.
  2. Extract the files in the XSLTParam.zip file to a folder.
  3. Build and then run the XSLTParam solution that is present in the folder that you extracted the files to. The behavior that is mentioned in the "Symptoms" section of this article occurs.

Modification Type:MinorLast Reviewed:8/4/2004
Keywords:kbdownload kbSample kbcode kbXML kbbug KB834667 kbAudDeveloper