Skip to content

XML: Add namespace support for XML attributes #2313

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

Merged
merged 1 commit into from
Jun 12, 2019

Conversation

hironytic
Copy link
Contributor

Implement XMLElement.attribute(forLocalName:uri:).
Also fix some other incompatibilities between Linux and Darwin about attributes with namespace.

In the added test case, all expected values are actual ones on Darwin (macOS 10.14.4).

@spevans
Copy link
Contributor

spevans commented May 31, 2019

@swift-ci test

@millenomi
Copy link
Contributor

How much of https://bugs.swift.org/browse/SR-10424 does this fix?

@millenomi millenomi merged commit 3ed9466 into swiftlang:master Jun 12, 2019
@hironytic
Copy link
Contributor Author

This PR fixes only for attributes.
AFAIK, at least there are still several namespace related NSUnimplemented()s in XMLElement.

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.

3 participants