[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: problem using saxon:function

Subject: Re: problem using saxon:function
From: Trevor Nash <tcn@xxxxxxxxxxxxx>
Date: Tue, 22 Jan 2002 18:37:51 +0000
Re:  problem using saxon:function
>    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
>    xmlns:saxon="http://icl.com/saxon" 
>    extension-element-prefixes="saxon">
><saxon:function name="my:initial">
>    <xsl:param name="size"/>
>    <saxon:return select="substring(.,1,$size)"/>

You do not seem to have a declaration for the prefix 'my'.  It doesn't
matter much what it is, but you need one.

I know you do not want to upgrade, but its still worth downloading a
later version of Saxon in order to try that: it may either work (so
you know you are seeing a bug) or give you a proper diagnostic to tell
you what is wrong with the stylesheet.

>        at

Are you calling Saxon from a command line or from Java?
You can get problems with NamePools if you are using Java and trying
to cache the stylesheet or an input document for use in several
transformations.  It might be that you have done something wrong, or
it might be that you have hit a bug - I think there have been fixes in
this area since Saxon 6.0.2.

Trevor Nash
Traditional training & distance learning,
Consultancy by email

Melvaig Software Engineering Limited
voice:     +44 (0) 1445 771 271 
email:     tcn@xxxxxxxxxxxxx

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

Current Thread


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.