fixed bug in parsing numeric entities: fallback on entities bigger than numeric base and not consuming one character of entity on fallback