RE: [xsl] question on variable definition

Subject: RE: [xsl] question on variable definition
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Tue, 30 Mar 2010 13:07:49 +0100
> 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)

No. Setting version="1.0" causes an XSLT 2.0 processor to adopt
backwards-compatible behaviour, which generally means that valid 1.0
stylesheets exhibit the 1.0 behaviour. It doesn't mean that the 2.0
processor is expected to reject constructs that were illegal in 1.0.


Michael Kay 

Current Thread