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

GH2524: Added support for XSL arguments in XmlTransform #2589

Merged
merged 3 commits into from
Jan 30, 2022

Conversation

deqenq
Copy link
Contributor

@deqenq deqenq commented Aug 3, 2019

fixes #2524

I added two overloaded XmlTransform methods that accept XsltArgumentList as arguments for XSL tranformation. Also new unit tests were added - I tried to use existing input/output sample data as much as possible so there are only two new XSL definitions (with arguments) needed.

@deqenq
Copy link
Contributor Author

deqenq commented Feb 1, 2020

Just curious, did I something wrong with this pull request? Please tell me...

@devlead
Copy link
Member

devlead commented Feb 1, 2020

@deqenq sorry, you've done nothing wrong, current status it's on the Cake team to fully review this, which we've unfortunately not gotten around to yet.

@augustoproiete augustoproiete changed the title GH2524: Added support for XSL arguments in XmlTransform GH-2524: Added support for XSL arguments in XmlTransform Feb 28, 2021
@deqenq
Copy link
Contributor Author

deqenq commented Jun 23, 2021

Should I try to resuscitate this pull request or not? That's the question.

@gep13 gep13 changed the title GH-2524: Added support for XSL arguments in XmlTransform GH2524: Added support for XSL arguments in XmlTransform Dec 14, 2021
Copy link
Member

@nils-a nils-a left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@deqenq sorry for this late feedback. The changes look good.

However, there are - in addition to the static XmlTransformation.Transform() methods - also corresponding overloads in XmlTransformationAlias to be used as extensions to the ICakeContext.

Are you in a position to add those, as well?

Also, I would much rather prefer to have the XsltArgumentList as a property to the XmlTransformationSettings instead of having another set of overloads.

@deqenq
Copy link
Contributor Author

deqenq commented Jan 24, 2022

@nils-a Thank you for your suggestions, I will try to fix it.

- XsltArgumentList can be null according to the documentation
- fixed tests
- fixed exception messages to be aligned to documentation
- no need to overloaded aliases
- XsltArgumentList can be null according to the documentation
- fixed tests
- fixed exception messages to be aligned to documentation
- no need to overloaded aliases
@deqenq deqenq requested a review from nils-a January 30, 2022 21:07
Copy link
Member

@nils-a nils-a left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@nils-a nils-a merged commit d454dc2 into cake-build:develop Jan 30, 2022
@nils-a
Copy link
Member

nils-a commented Jan 30, 2022

@deqenq your changes have been merged, thanks for your contribution 👍

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.

XmlTransform support for xsl arguments
3 participants