[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Calling a java method in XSL 1.0 with Saxon 6.5.5
Michael Kay schrieb:
The requirements are: It has to run with pure JDK 1.4.2 and there it is used, isn't it?I have a (currently) simple java method I want to use in a xsl stylesheet. I use XSL 1.0 and Saxon 6.5.5 (project requirement :'( ). In meantime somehow I gut success avoiding this error message, don't ask, how. (Trying this and that ...) Now I get a new problem: My java method should return a NodeList or something like that. I haven't found the Node implementation class to avoid that error: Supplied NodeList contains non-Saxon DOM Nodes The return values represents a String array or something alike. Do you have a tip? Ciao! Kai However, I've opened up the source code for the first time in many months, to see what exactly the message means. As far as I can see, you can only get this message if the supplied type of one of the arguments to the extension function is an XPath string, and the declared type of the parameter in the Java method is org.w3.dom.NodeList.
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|