Re: pgsql: Allow for X as well as x to be the prefix for hexadecimal

From: Oleg Bartunov <oleg(at)sai(dot)msu(dot)su>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Andrew Dunstan <andrew(at)dunslane(dot)net>, pgsql-committers(at)postgresql(dot)org
Subject: Re: pgsql: Allow for X as well as x to be the prefix for hexadecimal
Date: 2007-11-25 21:10:00
Message-ID: Pine.LNX.4.64.0711260007490.25930@sn.sai.msu.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

On Sun, 25 Nov 2007, Tom Lane wrote:

> Oleg Bartunov <oleg(at)sai(dot)msu(dot)su> writes:
>> On Sun, 25 Nov 2007, Andrew Dunstan wrote:
>>> Allow for X as well as x to be the prefix for hexadecimal character ref entity numbers,
>>> as in HTML.
>
>> So, '&x128;' is an entity ? Is't really true ?
>
> Well, unless you want to put in some knowledge about which identifiers
> are known entities, I don't see how to reject that. It's not a numeric
> entity, sure, but it looks just like a named entity.
>

I see. I think in future we'll improve parser<->dictionaries interaction,
so it could be possible to have dict_html dictionary, which encapsulate
all html-specific knowledge.

Regards,
Oleg
_____________________________________________________________
Oleg Bartunov, Research Scientist, Head of AstroNet (www.astronet.ru),
Sternberg Astronomical Institute, Moscow University, Russia
Internet: oleg(at)sai(dot)msu(dot)su, http://www.sai.msu.su/~megera/
phone: +007(495)939-16-83, +007(495)939-23-83

In response to

Browse pgsql-committers by date

  From Date Subject
Next Message User Gevik 2007-11-25 21:25:21 press - pr: NL translation for 8.3 press kit
Previous Message Tom Lane 2007-11-25 20:52:26 Re: pgsql: Allow for X as well as x to be the prefix for hexadecimal