Re: xmlconcat (was 9.0 release notes done)

Поиск
Список
Период
Сортировка
От Takahiro Itagaki
Тема Re: xmlconcat (was 9.0 release notes done)
Дата
Msg-id 20100402153942.976B.52131E4D@oss.ntt.co.jp
обсуждение исходный текст
Ответ на Re: xmlconcat (was 9.0 release notes done)  (Andrew Dunstan <andrew@dunslane.net>)
Ответы Re: xmlconcat (was 9.0 release notes done)
Список pgsql-hackers
Andrew Dunstan <andrew@dunslane.net> wrote:

> Hmm. OK. Well here is a patch that tries to fix the xmlconcat error, 
> anyway. It seems to work, but maybe could stand a little tightening.

Can we take the patch for 9.0? The bug is registered as an open item:
http://wiki.postgresql.org/wiki/PostgreSQL_9.0_Open_Items

As far as the patch, I found there are still two issues even after it applied:

1. A linebreak is added at the line end DOCTYPE exists.   =# SELECT xmlconcat('foo', xmlparse(DOCUMENT '<!DOCTYPE
html><html/>'));   xmlconcat   ------------    foo<html/>+
 
   (1 row)

2. DOCUMENT could have <?xml> before DOCTYPE.   =# SELECT xmlconcat('foo', xmlparse(DOCUMENT '<?xml version="1.0"?>
<!DOCTYPE html> <html/>'));    xmlconcat   -----------    foo   (1 row)
 

Regards,
---
Takahiro Itagaki
NTT Open Source Software Center




В списке pgsql-hackers по дате отправления:

Предыдущее
От: Josh Berkus
Дата:
Сообщение: Re: Compile fail, alpha5 & gcc 4.3.3 in elog.c
Следующее
От: Takahiro Itagaki
Дата:
Сообщение: Re: Compile fail, alpha5 & gcc 4.3.3 in elog.c