Recognizing Saxon9 java extension functions in the editor

Having trouble installing Oxygen? Got a bug to report? Post it all here.
pbw
Posts: 24
Joined: Sat Jul 12, 2008 3:46 am
Location: Brisbane, Australia

Recognizing Saxon9 java extension functions in the editor

Post by pbw »

Is it possible?

I have a jar file with a class and methods that I call from within Saxon9 using a namespace like
xmlns:utils="java:au.gov.nehta.saxon.SaxonUtils"
and a function call like
<xsl:when test="utils:mkdirs($leaf-dir-path, 'INFO')">

That works. Is there any way I can get the editor to recognize that the function call is legitimate?

Peter
george
Site Admin
Posts: 2095
Joined: Thu Jan 09, 2003 2:58 pm

Re: Recognizing Saxon9 java extension functions in the editor

Post by george »

Hi Peter,

See the following message from our oxygen-user list:
http://www.oxygenxml.com/pipermail/oxyg ... 02081.html

It presents the same issue and the solution. If you you encounter difficulties following that let us know.

Best Regards,
George
George Cristian Bina
pbw
Posts: 24
Joined: Sat Jul 12, 2008 3:46 am
Location: Brisbane, Australia

Re: Recognizing Saxon9 java extension functions in the editor

Post by pbw »

Thanks George.

Putting the jar in the Oxygen lib dir did the trick.

I gather that the forums and the mailing lists are not integrated?

Peter
george
Site Admin
Posts: 2095
Joined: Thu Jan 09, 2003 2:58 pm

Re: Recognizing Saxon9 java extension functions in the editor

Post by george »

Hi Peter,

No, they are not integrated, they are different support channels.

Best Regards,
George
George Cristian Bina
Post Reply