Re: pgsql: Fix XML tag namespace change inadvertantly missed from previous - Mailing list pgsql-committers

From Andrew Dunstan
Subject Re: pgsql: Fix XML tag namespace change inadvertantly missed from previous
Date
Msg-id 4749C8A6.4080403@dunslane.net
Whole thread Raw
In response to Re: pgsql: Fix XML tag namespace change inadvertantly missed from previous  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: pgsql: Fix XML tag namespace change inadvertantly missed from previous
Re: pgsql: Fix XML tag namespace change inadvertantly missed from previous
List pgsql-committers

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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: pgsql: Fix XML tag namespace change inadvertantly missed from previous
Next
From: Tom Lane
Date:
Subject: Re: pgsql: Fix XML tag namespace change inadvertantly missed from previous