Re: pgsql: Fix XML tag namespace change inadvertantly missed from previous

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-committers(at)postgresql(dot)org
Subject: Re: pgsql: Fix XML tag namespace change inadvertantly missed from previous
Date: 2007-11-25 19:10:30
Message-ID: 4749C8A6.4080403@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Tom Lane wrote:
> adunstan(at)postgresql(dot)org (Andrew Dunstan) writes:
>
>> Fix XML tag namespace change inadvertantly missed from previous fix. Add
>> regression test for XML names and numeric entities.
>>
>
> Still one gripe:
>
> regression=# select * from ts_debug(' &#x3bb; &#X3BB;');
> alias | description | token | dictionaries | dictionary | lexemes
> ---------+--------------------------+---------+--------------+------------+---------
> blank | Space symbols | | {} | |
> entity | XML entity | &#x3bb; | {} | |
> blank | Space symbols | | {} | |
> blank | Space symbols | &# | {} | |
> numword | Word, letters and digits | X3BB | {simple} | simple | {x3bb}
> blank | Space symbols | ; | {} | |
> (6 rows)
>
> Aren't hexadecimal entities supposed to be case-insensitive?
>
>
>

The 'x' must be lower case, the hex digits can be upper or lower. The
XML spec says:

CharRef ::= '&#' [0-9]+ ';'
| '&#x' [0-9a-fA-F]+ ';'

cheers

andrew

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2007-11-25 19:20:49 Re: pgsql: Fix XML tag namespace change inadvertantly missed from previous
Previous Message Tom Lane 2007-11-25 18:53:38 Re: pgsql: Fix XML tag namespace change inadvertantly missed from previous