The same scenario is passing for `ValidatingStreamReader` in the following test: https://github.com/FasterXML/woodstox/blob/5ba99cd1efde98280700469f6392f7341fce3eb3/src/test/java/wstxtest/vstream/TestInvalidAttributeValue.java#L21-L56 When the test is adapted for `SimpleNsStreamWriter` it still works. But when the test is adapted for `RepairingNsStreamWriter` it does not work anymore. The PR with a reproducer follows.