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

Backport "fix(#16458): regression in xml syntax parsing" to LTS #20920

Merged
merged 3 commits into from
Jul 2, 2024

Conversation

WojciechMazur
Copy link
Contributor

Backports #19522 to the LTS branch.

PR submitted by the release tooling.
[skip ci]

Base automatically changed from lts-19699 to lts-3.3 July 2, 2024 07:37
xLiteral mistakenly assumed that the element just after `<` is always
non-special element, but it is not true. It could be xCharData, comment,
xProcInstr.

[Cherry-picked 77aa363]
Just replacing element with content_LT, it works.

See #19522 (comment)

[Cherry-picked 27046fe]
To check parsing properly, it is better to run a test and assert parse
result.

[Cherry-picked 9de9d57]
@WojciechMazur
Copy link
Contributor Author

No regressions detected in the community build up to lts-19080.

Reference

@WojciechMazur WojciechMazur merged commit 94dbe78 into lts-3.3 Jul 2, 2024
19 checks passed
@WojciechMazur WojciechMazur deleted the lts-19522 branch July 2, 2024 19:13
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