RE: [xsl] xsl:function

Subject: RE: [xsl] xsl:function
From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx>
Date: Thu, 20 Jun 2002 23:58:23 +0100
Then show me a run in which (a) Saxon reports that it is version 6.5.2,
and (b) it throws out an <xsl:variable> with a select attribute.

The change from "expr" to "select" was made in Saxon 4.5, issued on 28
July 1999.

Michael Kay
Software AG
home: Michael.H.Kay@xxxxxxxxxxxx
work: Michael.Kay@xxxxxxxxxxxxxx 

> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx 
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of 
> Dominic Blythe
> Sent: 19 June 2002 08:55
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: RE: [xsl] xsl:function
> 
> 
> > >
> > > i'm using 6.5.2 downloaded this morning :-)
> >
> > You may think you are, but if it allows <xsl:variable name="x" 
> > expr="..."/> then you're mistaken. Try it with the -t option.
> 
> outputs the following:
> 
> SAXON 6.5.2 from Michael Kay
> Java version 1.3.0_01
> No source file name
> SAXON 6.5.2 from Michael Kay
> Usage:  java com.icl.saxon.StyleSheet [options] source-doc 
> style-doc {param=valu e}...
> Options:
>   -a              Use xml-stylesheet PI, not style-doc argument
>   -ds             Use standard tree data structure
>   -dt             Use tinytree data structure (default)
>   -o filename     Send output to named file or directory
>   -m classname    Use specified Emitter class for xsl:message output
>   -r classname    Use specified URIResolver class
>   -t              Display version and timing information
>   -T              Set standard TraceListener
>   -TL classname   Set a specific TraceListener
>   -u              Names are URLs not filenames
>   -w0             Recover silently from recoverable errors
>   -w1             Report recoverable errors and continue (default)
>   -w2             Treat recoverable errors as fatal
>   -x classname    Use specified SAX parser for source file
>   -y classname    Use specified SAX parser for stylesheet
>   -?              Display this message
> 
> 
> > > >
> > > >
> > > > >
> > > > > also, Saxon doesnt throw out
> > > > > <xsl:variable name="x" expr="&#32;&#32;&#32;&#32;......"/>
> > > > >
> > > > > but it *does* throw out
> > > > > <xsl:variable name="x" select="&#32;&#32;&#32;&#32;......"/>
> > > > > as an *Unexpected EOF*
> > > > >
> > > >
> > > > You must be using an amzingly ancient version of Saxon, 
> one that 
> > > > predates the 1999 XSLT 1.0 Recommendation.
> > > >
> > > > Michael Kay
> > > > Software AG
> > > > home: Michael.H.Kay@xxxxxxxxxxxx
> > > > work: Michael.Kay@xxxxxxxxxxxxxx
> > > >
> > > >
> >
> 
> 
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> 


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread