Version bump.
Version 0.10.0. Merge branch 'release/0.10.0' into develop
It is only if ret is true that we've seen it.
Simplified the code here and also made it less likely to call canEnd for no reason.
Fixed a parsing error that could cause mantatory elements to not be reported.