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

[feature] Make active configuration available to xquery. #3331

Open
duncdrum opened this issue Mar 27, 2020 · 2 comments
Open

[feature] Make active configuration available to xquery. #3331

duncdrum opened this issue Mar 27, 2020 · 2 comments
Labels
enhancement new features, suggestions, etc.

Comments

@duncdrum
Copy link
Contributor

duncdrum commented Mar 27, 2020

Is your feature request related to a problem? Please describe.
expath package authors might wish to modify what happens during installation based on the settings of an instances conf.xml. Memory, Enabled indexes, xsl transformer class, all come to mind.

Describe the solution you'd like
I'd like there to be an xquery function, e.g. util:conf() that provides an instances conf.xml

Describe alternatives you've considered
trial and error, do an xsl3 transform, if it fails, try xsl2, then xsl1 … Parsing the exist.log for relevant lines.

Good Idea / Bad Idea ?

see #3062

@duncdrum duncdrum added the enhancement new features, suggestions, etc. label Mar 27, 2020
@dizzzz
Copy link
Member

dizzzz commented Mar 13, 2023

good idea

@adamretter
Copy link
Contributor

There are some things in the conf.xml that should not be visible apart to anyone apart from dba so we should probably consider the security implications of how that would be achieved...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement new features, suggestions, etc.
Projects
None yet
Development

No branches or pull requests

3 participants