Re: BUG #3734: Invalid XML schema output.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #3734: Invalid XML schema output.
Дата
Msg-id 23592.1195801598@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: BUG #3734: Invalid XML schema output.  (Euler Taveira de Oliveira <euler@timbira.com>)
Ответы Re: BUG #3734: Invalid XML schema output.  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-bugs
Euler Taveira de Oliveira <euler@timbira.com> writes:
> Bruce Momjian wrote:
>>> Agreed. Feel free to add whitespace before every /> of simple xml elements.
>>
>> Uh, was this done?
>>
> Nope. Attached is a patch that does it.

Er ... why exactly is it a good idea to bloat XML output with cosmetic
whitespace?  I should think that only programs, not humans, read XML for
the most part.

> I'm attaching another cosmetic
> patch that replaces the use of some single quotes with double quotes in
> the XML attributes output.

This part sounds like a good idea, if only because single quotes require
doubling in some situations in SQL-land.

            regards, tom lane

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

Предыдущее
От: Euler Taveira de Oliveira
Дата:
Сообщение: Re: BUG #3734: Invalid XML schema output.
Следующее
От: "ludo"
Дата:
Сообщение: BUG #3776: problem with drop database or dropdb