Tom Lane wrote:
[EMAIL PROTECTED] (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



---------------------------(end of broadcast)---------------------------
TIP 7: You can help support the PostgreSQL project by donating at

               http://www.postgresql.org/about/donate

Reply via email to