- improve error printing
- fixed a nasty bug when parsing qualified XML names (Issue #31)