woodstox
woodstox copied to clipboard
Generic fault messages
Hello,
I would like to ask if there's a option to disable faultstring messages. For example, turn messages like this:
throwParseError("Unexpected '<' character in element (missing closing '>'?)");
to a generic or empty one, so as to avoid
Thanks in advance. S.
There is currently no way to do that at this point; you would need to catch exception and create a replacement.
If someone wanted to implement a feature like that ("property"), I would accept it -- or maybe some kind of handler that would be given proposed message and could replace it with something else.
Added a label to indicate that I probably won't have time to work on such a feature myself, but would be happy to help getting a PR merged (and suggests ways to approach this).