Skip to content

Parity: XMLElement.normalizeAdjacentTextNodes… #2483

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
Aug 23, 2019
Merged

Parity: XMLElement.normalizeAdjacentTextNodes… #2483

merged 1 commit into from
Aug 23, 2019

Conversation

millenomi
Copy link
Contributor

  • Implement it like Darwin does.
  • Nodes representing CDATA sections now return .kind == .text, like on Darwin.
  • .setChildren() now correctly replaces all children, not just the first.
  • .childCount now returns correct results.

Fixes https://bugs.swift.org/browse/SR-10425

@millenomi
Copy link
Contributor Author

@swift-ci please test

 - Implement it like Darwin does.
 - Nodes representing CDATA sections now return .kind == .text, like on Darwin.
 - .setChildren() now correctly replaces all children, not just the first.
 - .childCount now returns correct results.

Fixes https://bugs.swift.org/browse/SR-10425
@millenomi
Copy link
Contributor Author

@swift-ci please test

1 similar comment
@millenomi
Copy link
Contributor Author

@swift-ci please test

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.

1 participant