Thanks for reporting this, but I will need a complete executable stylesheet and source document before I can determine whether the error is in your code or in mine.
Michael Kay

From: [] On Behalf Of Jose Antonio Illescas del Olmo
Sent: 12 April 2005 17:37
Subject: [saxon] possible bug with variable scope

Hello Michael,

I have an global-parameter called "mode" with an empty value in runtime

    <xsl:param name="mode"/>

after I use a template-parameter with same name ("mode")

    <xsl:apply-templates select="*[1]" mode="template.list.view.criteria">
        <xsl:with-param name="mode" select="'list.without.selection'"/>

 but template-parameter is empty into template "template.list.view.criteria" when exist a static value ('list.without.selection')

This never occurs with saxon-8.1.  (is an error?)

AVISO LEGAL Este mensaje de correo electrónico y sus documentos adjuntos están dirigidos exclusivamente a los destinatarios especificados. Puede contener información confidencial o legalmente protegida. No hay renuncia a la confidencialidad o privilegio por cualquier transmisión errónea. Si usted no es el destinatario indicado, le rogamos que lo elimine y se lo comunique al remitente. No debe, directa o indirectamente, usar, revelar, distribuir, imprimir o copiar ninguna de las partes de este mensaje. Si siendo destinatario de este mensaje no consintiera el uso de correo electrónico, rogamos nos lo comunique inmediatamente. Bancoval,S.A. y sus filiales no serán responsables de las opiniones o informaciones incluidas en este mensaje salvo cuando el remitente esté autorizado para establecer que dichas opiniones proceden de Bancoval,S.A y sus filiales. DISCLAIMER Addressee/s identified herein. It may contain confidential or legally privileged information. No confidentiality privilege is waived or lost by any mistransmission. If you are not the intended recipient, please immediately delete it and notify the sender. You must not, directly or indirectly, disclose, distribute, print, or copy any part of this message. If you are the addressee of this message and do not consent to the use of e-mail, please communicate it to us immediately. Bancoval, S.A. and its subsidiaries are not responsible for the opinions or information included in this message except when the sender is authorised to state them to be the views of Bancoval, S.A and its subsidiaries.
------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. _______________________________________________ saxon-help mailing list