ELSGestion / els-sie-xsl-lib

A set of XSL libraries
5 stars 1 forks source link

Adapt XSpec 1.6.0 tests with fn:doc instead of xi:include #20

Open mricaud opened 4 years ago

mricaud commented 4 years ago

As seen in https://github.com/xspec/xspec/issues/1090#issuecomment-665565281

Another way of being XSpec 1.6.0 compatible is to use <x:context/expect select="fn:doc()"> instead of the xi:include that was recently commited.

This new method looks quite easier:

The only problem is that we loose the xml:base inheritance in the XSpec file itself. In Oxygen CTRL + Clic on the filename in @href opens it, this won't be true anymore, except if the filename is set in @label I guess.

This issue is about upgrading XSpec to this method as suggested by @AxelCourt