Re: [xml-dev] The awesome power of Schematron: using user-defined XSLT functions in Schematron
Looking at your Schematron you declare:
queryBinding="xslt2"
... and you are lying about that. Your Schematron is not conformant.
I take back my incorrect statement at the end of my post. I think it
was an acceptable interpretation of Schematron:2006. After posting I
thought I better check the draft of Schematron:2015 to be correct,
and, indeed, user-written functions and extensions are very much
allowed with a queryBinding="xslt2".