Andrew Dunstan <andrew@dunslane.net> writes:
> Here's a patch that fixes the patterns for numeric entities, tag names,
> and removes the upper case 'X' case in the special case for an XML
> prolog. There are still some oddities, but I decided against making
> heroic efforts to fix them. It's probably less important if the patterns
> are slightly too liberal (e.g. accepting <a href="qwe<qwe>"> ) than if
> they don't recognize what they are alleged to recognize.
I don't approve of the changes to the exposed token type names, but
the state machine changes seem sane first-glance.
regards, tom lane