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

Fix XML Output for Resources with Control Chars #1552

Closed
alexanderkiel opened this issue Mar 14, 2024 · 0 comments
Closed

Fix XML Output for Resources with Control Chars #1552

alexanderkiel opened this issue Mar 14, 2024 · 0 comments
Assignees
Milestone

Comments

@alexanderkiel
Copy link
Member

If resources contain control characters like \u001e (record separator) in strings or other string like primitive type values, the XML generator can't output them. Because the resulting exception is not handled, the output hangs and will never finish.

A fix should contain the following:

  • handle exceptions while generating XML
  • disallow control chars in primitive type values like strings, codes, URI's and so on
@alexanderkiel alexanderkiel self-assigned this Mar 14, 2024
@alexanderkiel alexanderkiel added this to the v0.25 milestone Mar 14, 2024
@alexanderkiel alexanderkiel changed the title Fix Hanging XML Output for Resources Containing Control Chars Fix XML Output for Resources with Control Chars Mar 14, 2024
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant