From: Dan M. <dan...@gm...> - 2013-03-02 13:10:48
|
Hi Dannes, Thanks for offering to help. Here is an XSLT that displays the version information: show-xslt-version.xsl <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <xsl:template match="/"> <results> <system-property-version> <xsl:value-of select="system-property('xsl:version')"/> </system-property-version> <system-property-vendor> <xsl:value-of select="system-property('xsl:vendor')"/> </system-property-vendor> <system-property-vendor-url> <xsl:value-of select="system-property('xsl:vendor-url')"/> </system-property-vendor-url> </results> </xsl:template> </xsl:stylesheet> Within the default eXist 2.0 with no change to any configuration files I get the following version information: <results> <system-property-version>2.0</system-property-version> <system-property-vendor>SAXON 9.2.1.5 from Saxonica</system-property-vendor> <system-property-vendor-url>http://www.saxonica.com/</system-property-vendor-url> </results> When I run the same within oXygen 14.2 using the default XSLT transform (there are 7 other options available) I get: <results> <system-property-version>1</system-property-version> <system-property-vendor>SAXON 6.5.5 from Michael Kay</system-property-vendor> <system-property-vendor-url>http://saxon.sf.net/</system-property-vendor-url> </results> I used this XQuery program to test: xquery version "1.0"; let $input := doc('empty-file.xml') let $xslt-file := doc('show-xslt-version.xsl') return transform:transform ($input, $xslt-file,())} Can anyone else reproduce the error? - Dan On Sat, Mar 2, 2013 at 3:15 AM, Dannes Wessels <da...@ex...> wrote: > > On 1 Mar 2013, at 23:30 , Dan McCreary <dan...@gm...> wrote: > > The following transform works in Saxon but fails in eXist 2.0: > > > what does this mean in detail? > - which version of Saxon? > - "Saxon": it works with saxon@oxygen or saxon-standalone as commandline? > - "eXist-db" : is it the 'native' XSLT2 processor that is actually in > eXist-db or do you mean the standard "Saxon vX.Y in eXist-db" ? > > cheers > > Dannes > > -- Dan McCreary NoSQL Evangelist office: (952) 931-9198 cell: (612) 986-1552 |