-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
XML Namespace improvements #11072
XML Namespace improvements #11072
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have a few suggestions to improve code quality. Apart from that, this looks good.
spec/std/xml/xml_spec.cr
Outdated
"xmlns" => "http://www.w3.org/2005/Atom", | ||
"xmlns:openSearch": "http://a9.com/-/spec/opensearchrss/1.0/", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How does this hyprid literal even compile? 🕵️
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh interesting. Apparently it was like that before too 🤔.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @Blacksmoke16 🙏
Resolves #11037.
XML::Node
namespace methods#each_namespace
within#namespace_scopes
.