xmlreader: use a character lookup table to implement xmlalnum and xmlspace