Page 1 of 1

Recognizing Saxon9 java extension functions in the editor

Posted: Fri Dec 12, 2008 7:55 am
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

Re: Recognizing Saxon9 java extension functions in the editor

Posted: Fri Dec 12, 2008 5:57 pm
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

Re: Recognizing Saxon9 java extension functions in the editor

Posted: Mon Dec 15, 2008 12:53 am
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

Re: Recognizing Saxon9 java extension functions in the editor

Posted: Mon Dec 15, 2008 11:29 am
by george
Hi Peter,

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

Best Regards,
George