Fix for #33: null in attribute value breaks XML AttValue

In several places we were only checking for null in the state's
if-statement and not breaking out of charsUntil for it.