Message147756
The strict/tolerant mode mainly works by using either a strict or a tolerant regex. If the markup is invalid, the strict regex doesn't match and it gives an error. The tolerant regex will match both valid and invalid markup at the same time, without distinctions, and that's why there's no way to emit a warning for these cases. I think there are a couple of places where a warning could be emitted, but that would just cover a small percentage of the errors. Even if we find a way to emit a warning for everything allowed by the tolerant mode that fails on strict, it won't still cover all the possible errors, that's why I think tools like validators and conformance checkers (or even the warning/error logs) should be used instead. |
|
Date |
User |
Action |
Args |
2011-11-16 08:28:56 | ezio.melotti | set | recipients:
+ ezio.melotti, fdrake, terry.reedy, jjlee, orsenthil, kxroberto, Neil Muller, r.david.murray |
2011-11-16 08:28:56 | ezio.melotti | set | messageid: <1321432136.8.0.865869582555.issue1486713@psf.upfronthosting.co.za> |
2011-11-16 08:28:56 | ezio.melotti | link | issue1486713 messages |
2011-11-16 08:28:56 | ezio.melotti | create | |
|