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

How to annotate deprecated modules #160

Open
CanOfBees opened this issue Oct 27, 2022 · 1 comment
Open

How to annotate deprecated modules #160

CanOfBees opened this issue Oct 27, 2022 · 1 comment

Comments

@CanOfBees
Copy link
Contributor

Hi -
I have been, very slowly, working my way through the last several BaseX versions and I find myself stuck on how to annotate the removal/deprecation of two of the BaseX modules, the Geo Module and the ZIP module.

It looks like the following is the appropriate syntax is the right approach:

declare option o:requires-import "basex/7.6; until=basex/10.0; location-uri=(none)";

but I'm not sure. The current geo.xqy seems to follow this.

Thanks for your thoughts!

@CanOfBees CanOfBees changed the title How to Annotate deprecated modules How to annotate deprecated modules Oct 27, 2022
@rhdunn
Copy link
Owner

rhdunn commented Nov 9, 2022

Hi,

Currently, those annotations are not made use of by the plugin so are currently only informational. Your markup example looks good.

My plan is to eventually create versioned packages per http://expath.org/spec/pkg for the built-in function definitions for W3C, BaseX, eXist-db, and Saxon. (For MarkLogic I want to generate the package from the documentation zip.) This way, I can download and use the specific versions of the built-in definitions based on the user's configuration.

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

2 participants