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

Added http://www.w3.org/2001/10/xml-exc-c14n#WithComments Transform #25

Merged
merged 1 commit into from
Oct 30, 2015
Merged

Added http://www.w3.org/2001/10/xml-exc-c14n#WithComments Transform #25

merged 1 commit into from
Oct 30, 2015

Conversation

McRip
Copy link
Contributor

@McRip McRip commented Oct 30, 2015

Hello,

i created this PR to implement another Transform: "http://www.w3.org/2001/10/xml-exc-c14n#WithComments". The library now recognizes this transform and executes the Nokogiri canonicalization with a third parameter 'with_comments'.
My use case uses this kind of transform and the lib currently breaks with an 'NoMethodError: undefined method `transform' for nil:NilClass' in transforms.rb:7, because it can't handle this kind of transform.

I hope that this one gets merged.

@benoist benoist merged commit 4f2bd1f into benoist:master Oct 30, 2015
@benoist
Copy link
Owner

benoist commented Oct 30, 2015

Nice. Thanks for this!

@McRip
Copy link
Contributor Author

McRip commented Oct 30, 2015

Great. Thanks for the quick response.

@McRip McRip deleted the with_comments_transform branch October 30, 2015 12:36
@benoist
Copy link
Owner

benoist commented Oct 30, 2015

Gem 0.2.10 is pushed :)

@benoist benoist mentioned this pull request Sep 21, 2022
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.

2 participants