Thanks,
xslt2 allows a variable to be masked by a new variable of the same name.
xslt1 did not.
that was the reason I used option "-xmlversion:1.0" for saxon:
$ java -jar saxon9he.jar -xmlversion:1.0 -xsl:m.xsl -s:m.xsl
-versionmsg:off ; echo
Is this a saxon bug? (not acting on specified version)
Is the aborting with error xsltproc does the correct behavior?
Mit besten Gruessen / Best wishes,
Hermann Stamm-Wilbrandt
Developer, XML Compiler, L3
WebSphere DataPower SOA Appliances
----------------------------------------------------------------------
IBM Deutschland Research & Development GmbH
Vorsitzender des Aufsichtsrats: Martin Jetter
Geschaeftsfuehrung: Dirk Wittkopp
Sitz der Gesellschaft: Boeblingen
Registergericht: Amtsgericht Stuttgart, HRB 243294
David Carlisle
<davidc(_at_)nag(_dot_)co(_dot_)uk
> To
xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
03/30/2010 01:36 cc
PM Hermann
Stamm-Wilbrandt/Germany/IBM(_at_)IBMDE
Subject
Please respond to Re: [xsl] question on variable
xsl-list(_at_)lists(_dot_)mu definition
lberrytech.com
On 30/03/2010 12:32, Hermann Stamm-Wilbrandt wrote:
xsltproc complains about redefining variable v with an error.
saxon9he has no complaints and does a rewrite(?) of the variable.
xslt2 allows a variable to be masked by a new variable of the same name.
xslt1 did not.
David
________________________________________________________________________
The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.
This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs.
________________________________________________________________________
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--