Minor SAX code tidying

Signed-off-by: Danny Price <dan@thetelegraphic.com>