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

Поиск
Список
Период
Сортировка

Tom Lane wrote:
> adunstan@postgresql.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(' λ λ');
>   alias  |       description        |  token  | dictionaries | dictionary | lexemes
> ---------+--------------------------+---------+--------------+------------+---------
>  blank   | Space symbols            |         | {}           |            |
>  entity  | XML entity               | λ | {}           |            |
>  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



В списке pgsql-committers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: pgsql: Fix XML tag namespace change inadvertantly missed from previous
Следующее
От: Tom Lane
Дата:
Сообщение: Re: pgsql: Fix XML tag namespace change inadvertantly missed from previous