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

RE: Troubles using Inodata Isogen Saxon Extension "ren

Subject: RE: Troubles using Inodata Isogen Saxon Extension "renderedTextLength Function" with Saxon7.9.1 or Saxon 8.0
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Fri, 11 Jun 2004 22:57:04 +0100
inodata
> 
> In the stylesheet i defined the namespace as you did in your sample! I
> started the formating in XML Spy (java -jar
> "C:\Programme\Saxon\Saxon7.9\saxon7.jar" -o %2 %1 %3)
> 
> But then an error occurs which tells me that the function 
> renderedTextLength
> is unknown...
> 
> What is the problem here?

When you invoke a Java application using -jar, the only things on your
classpath are things in that JAR archive, plus any dependencies registered
in the JAR archive. So if you want to invoke your own extension functions,
you need to use the other approach:

java net.sf.saxon.Transform -o %2 %1 %3

You might also find the -TJ option useful for diagnosing such problems.

Michael Kay



Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

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.
Email
First Name
Last Name
Company
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.