Tom Lane wrote:
I wrote:
Re: [HACKERS] Heads up: 8.3beta3 to be wrapped this evening, andrew
This too.
Uh, no, actually it isn't. I thought we were going to make cases
like "<h1>" be treated as XML tags, but CVS HEAD fails to do that:
regression=# select * from ts_debug('<h1>foo</h1>');
alias | description | token | dictionaries | dictionary | lexemes
-----------+--------------------------+-------+----------------+--------------+---------
blank | Space symbols | < | {} | |
numword | Word, letters and digits | h1 | {simple} | simple | {h1}
blank | Space symbols | > | {} | |
asciiword | Word, all ASCII | foo | {english_stem} | english_stem | {foo}
blank | Space symbols | < | {} | |
file | File or path name | /h1 | {simple} | simple | {/h1}
blank | Space symbols | > | {} | |
(7 rows)
What exactly *was* changed by this patch?
2007-11-19 21:25 adunstan
* doc/src/sgml/textsearch.sgml, src/backend/tsearch/wparser_def.c,
src/test/regress/expected/tsearch.out: Change descriptions of
entity and tag objects to "XML entity" and "XML tag". Allow tag
and entity names that follow XML rules. Provide for hexadecimal as
well as decimal numeric entities. Adjust code names to coincide
with new descriptions.
Oops. I will fix this in the morning when my brain is functioning. I see
what I did. I changed the rules for entity names but somehow missed
doing the same for tag names.
cheers
andrew
---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to [EMAIL PROTECTED] so that your
message can get through to the mailing list cleanly