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

Allow pre/post processing transforms to be passed from the command line #448

Merged
merged 1 commit into from
Jan 15, 2024

Conversation

ndw
Copy link
Contributor

@ndw ndw commented Jan 15, 2024

I think this is a simpler solution to #426 than proposed in #439. The root cause appears to be that a parameter passed on the command line is not a string, it is an xs:untypedAtomic. That makes sense because untyped atomic values are more amenable to automatic conversion.

Fixing the first problem (allowing instance of xs:untypedAtomic) reveals a second; the variables are attempting to use the root of the input document when it isn't available. I think static-base-uri() is a reasonable compromise.

Close #426
Close #439

@ndw ndw merged commit e8e7cfc into docbook:main Jan 15, 2024
2 checks passed
@ndw ndw deleted the iss-426 branch January 15, 2024 18:15
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

Successfully merging this pull request may close these issues.

String not accepted for $transform-before
1 participant