fix possible call to str(case)cmp with null pointer
Merge branch 'master' of https://github.com/marmeladema/Saxxy