Subject: pgsql: Fix XML tag namespace change inadvertantly missed from previous
From: tgl@sss.pgh.pa.us (Tom Lane)
Date: 11/25/2007 1:53:38 PM
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?
regards, tom lane
---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings
Subject: pgsql: Fix XML tag namespace change inadvertantly missed from previous
From: tgl@sss.pgh.pa.us (Tom Lane)
Date: 11/25/2007 2:20:49 PM
Andrew Dunstan <andrew@dunslane.net> writes:
> Tom Lane wrote:
>> 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:
But we're also interested in parsing HTML, and upper case X is
allowed in HTML:
http://www.w3.org/TR/REC-html40/charset.html#h-5.3.1
regards, tom lane
---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo@postgresql.org so that your
message can get through to the mailing list cleanly
|