Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
mricaud opened this issue Jul 30, 2020 · 0 comments
Open

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

mricaud opened this issue Jul 30, 2020 · 0 comments

Comments

@mricaud
Copy link
Contributor

mricaud commented Jul 30, 2020

As seen in xspec/xspec#1090 (comment)

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:

  • no xi:include configuration in Oxygen or Maven
  • no serialize/parse xpath to delete xml:base (added by xi:include)

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

mricaud added a commit that referenced this issue Oct 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant