found a bug when decoding short/long named entities (e.g. &Nu; or &thetasym;). spec'd and fix'd.