W3C home > Mailing lists > Public > public-ixml@w3.org > October 2022

Embarrassing

From: Steven Pemberton <steven.pemberton@cwi.nl>
Date: Wed, 12 Oct 2022 21:17:45 +0000
Message-Id: <1665608469524.1151767588.260724711@cwi.nl>
To: ixml <public-ixml@w3.org>
I had one test that had been failing for a long time, but since it wasn't 
urgent, I had left it to fix.

Actually it was a negative test: it ought to have failed, and it didn't: 
there was an extra character at the end of the input that it should have 
complained about.

Turns out that it was an off-by-one error, and any test with exactly one 
spurious character at the end of otherwise correct input would have passed. 
When I fixed it, about half my tests failed: they all had a spurious 
newline at the end of the input, but it just hadn't been visible.

Steven
Received on Wednesday, 12 October 2022 21:18:01 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 12 October 2022 21:18:02 UTC