-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Add case within XML Node's name setter for DTDKind (#5230) #5232
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
Conversation
Force set the name for XMLNodes when they're XMLDTDs as the regular _CFXMLNodeSetName function doesn't account for them anymore
@swift-ci test |
Looks reasonable - can we add a unit test too? |
There's this existing test that checks for this exact functionality:
This issue only gets highlighted with the more recent libxml2 versions though, which the CI probably isn't on yet. Let me know if there's any other way to test this or other tests to add. |
Oh ok, that's fine then. Thanks. |
@swift-ci test |
@swift-ci please test |
@swift-ci please test Windows platform |
Hi @parkera , looks like Windows CI is green now. Is that ok to merge? |
@parkera Friendly ping 🙂 We'd like to land this so we can pull it into our internal repo, is there anything else needed? |
Nope, just fell off my radar. Thanks for the ping. |
Fixes #5230 by force setting the name for XMLNodes when they're XMLDTDs as the regular _CFXMLNodeSetName function doesn't account for them with future versions of libxml2