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

tidy: prepare to remove in-context recovery hack needed for libxml < 2.13 #3256

Merged
merged 1 commit into from
Jun 24, 2024

Conversation

flavorjones
Copy link
Member

@flavorjones flavorjones commented Jun 24, 2024

What problem is this PR intended to solve?

This hack is not necessary with libxml 2.13 which improves fragment recovery behavior.

  • add a TODO to remind me to remove the hack once we no longer support libxml 2.13 (system libs)
  • add a test that asserts the correct behavior when using libxml >= 2.13

Closes #2092

Have you included adequate test coverage?

Yes.

Does this change affect the behavior of either the C or the Java implementations?

Sadly, the Java implementation still does not handle in-context fragment parsing correctly, but that's out of scope for this improvement.

@flavorjones flavorjones added this to the v1.17.0 milestone Jun 24, 2024
@flavorjones flavorjones force-pushed the flavorjones-remove-in-context-hack branch from 8745bac to 830ccb5 Compare June 24, 2024 13:28
@flavorjones flavorjones changed the title tidy: remove in-context recovery hack needed for libxml < 2.13 tidy: prepare to remove in-context recovery hack needed for libxml < 2.13 Jun 24, 2024
This hack is not necessary with libxml 2.13 which improves fragment
recovery behavior.

Closes #2092
@flavorjones flavorjones force-pushed the flavorjones-remove-in-context-hack branch from 830ccb5 to 966d5ca Compare June 24, 2024 13:29
@flavorjones flavorjones enabled auto-merge June 24, 2024 13:51
@flavorjones flavorjones merged commit 75ab97d into main Jun 24, 2024
131 of 132 checks passed
@flavorjones flavorjones deleted the flavorjones-remove-in-context-hack branch June 24, 2024 14:00
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.

[bug] "in context" fragment parsing silently degrades functionality when XML errors are encountered
1 participant