Marc van Grootel wrote:
> 
> We are using XXE in a data migration project and would like to use
> Schematron rules using XPath 2.0. 

We natively support XPath 1.0 only, in our native ISO Schematron
implementation and also everywhere else (macros, "Search|Find Element",
etc).

We do not plan to natively support XPath 2.0 in the near future, mainly
because XPath 1.0 is deemed sufficiently powerful when used in the
context of XXE.

Note that as of XXE v4.5.0, XXE includes Saxon 9, which implements XSLT
2.0 and thus XPath 2.0. Therefore you can now write XXE extensions which
depend on this (truly excellent) component.



> Is this possible?

Yes, but you'll have to use a Schematron implementation other than our
ours and to write a validateHook in Java[tm] invoking this external
Schematron implementation.

See http://www.xmlmind.com/xmleditor/_distrib/doc/dev/validatehook.html
See
http://www.xmlmind.com/xmleditor/_distrib/doc/api/com/xmlmind/xmleditapp/validatehook/package-summary.html
See
http://www.xmlmind.com/xmleditor/_distrib/doc/configure/validateHook.html

Explaining how to do this is out of the scope of this mailing list.


Reply via email to