Page 1 of 1

saxon:validate()

Posted: Thu Jul 18, 2019 8:27 am
by whyme
In an XSLT 3.0 stylesheet I want to invoke from the Saxon function library saxon:validate(). oXygen offers the function as part of the autocomplete options when I type. But once the function is in place, the stylesheet is marked as invalid, saying that it cannot find a 1-argument function named {http://saxon.sf.net/}validate(). I have tried validating against both PE and EE editions, and with 2- and 3-parameter versions, with the same effect.

Several of the other Saxon functions I tried worked fine: the stylesheet was both valid and operational. Thoughts?

Re: saxon:validate()

Posted: Thu Jul 18, 2019 8:41 am
by whyme
I just found the problem: in my Preferences > XML > XSLT-XQuery > XSLT > Saxon > Saxon-HE/PE/EE I had been pointing to a configuration file, which was overriding the options I had set up to handle saxon:validate(). Hope this helps someone else who stubs their toe on the same issue.

Re: saxon:validate()

Posted: Mon Jul 22, 2019 10:11 am
by Radu
Hi,

Thanks for updating your post with the solution. Indeed the configuration file overrides the preferences.

Regards,
Radu