FTS is taking "<!--" as a xml comment.

Started by AI Rummanover 15 years ago1 messagesgeneral
Jump to latest
#1AI Rumman
rummandba@gmail.com

I found that FTS is taking "<!--" as a xml comment.
select to_tsvector('english', '<!--[if gte mso 9]>RMAN is not a
DBA<![endif]-->') as c;
c
---

(1 row)

select * from ts_debug('english', '<!--[if gte mso 9]>RMAN is not a
DBA<![endif]-->') as c ;
alias | description | token | dictionaries | dictionary | lexemes
-------+-------------+--------------------------------------------------+--------------+------------+---------
tag | XML tag | <!--[if gte mso 9]>RMAN is not a DBA<![endif]--> | {} | |
I need to parse the statement "RMAN is not a DBA".
How can I do this?
Anye idea please.