XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Topic Page 1 2 3 4 5 6 7 8 9 Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
A. EvansSubject: Trouble Registering Java Extension Classes
Author: A. Evans
Date: 17 Jan 2006 02:27 PM
I am having trouble registering java extension classes according to the instructions in the help files. I have a newly created xml document. I have set the class path to include the jar file with the extensions. I navigate to the Mapper tab and right click to display the shortcut menu. I select Java Functions > Register Java Extension Class.... and get the Java Class Browser dialog. I navigate to the class with the extensions, select it and click OK. If I am reading the instructions properly, the next time I right-click the mapper to get the shortcut menu, the Java Functions option should give me all of my extensions. Is that correct? All I get is the Register Java Extension Class.... option again.

I have been able to use the functions by giving the class file a namespace reference and typing in the extensions by hand, but I can't get the extensions to appear in the shortcut menu.

What am I missing? Or have I just misunderstood how things are supposed to work?

Postnext
Tony LavinioSubject: Trouble Registering Java Extension Classes
Author: Tony Lavinio
Date: 17 Jan 2006 03:28 PM
It should be working. Is your classpath set properly?
Also, we're pretty picky about the method signatures we'll
put into the mapper. Do your methods match that described
at http://www.stylusstudio.com/docs/v2006/d_xslt38.html
and the nearby pages?

Posttop
A. EvansSubject: Trouble Registering Java Extension Classes
Author: A. Evans
Date: 18 Jan 2006 09:42 AM
Thanks for the fast response and helpful advice. We had to change our methods a bit.

 
Topic Page 1 2 3 4 5 6 7 8 9 Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.