Fix lexing of named character entities.

I had issues with named character entities turned into semicolons when using your xmpp library.  This fixes the issue for me.