FasterXML / FasterXML/woodstox

Support InvalidCharHandler for reading

Open
#145 3 comments 0 reactions 0 assignees View on GitHub
pr-welcome
Dominant language
Java
Stars
259
Forks
90
Avg merge
16h 52m
Merged PRs (30d)
2

Description

It looks like `InvalidCharHandler` can only be set when writing, but not reading. Do you think it makes sense to support this for reading as well? If a user is dealing with a `Reader` they could do this sort of transformation pretty easily before passing the stream to woodstox. However, it requires their code to understand which characters are invalid (rather than having woodstox be the source of truth for that). And if the user is dealing with an `InputStream`, they may not have an easy way to do character-based filtering/replacement

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.