Re: BUG #3734: Invalid XML schema output.

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: BUG #3734: Invalid XML schema output.
Дата
Msg-id 200711231553.lANFrDp10713@momjian.us
обсуждение исходный текст
Ответ на Re: BUG #3734: Invalid XML schema output.  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: BUG #3734: Invalid XML schema output.  ("Harald Armin Massa" <haraldarminmassa@gmail.com>)
Список pgsql-bugs
Tom Lane wrote:
> 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 assumed XML is for both human and program reading;  in fact, I thought
that was its big benefit.  I assume we are taking the difference between
"<br/>" vs "<br />", right?  I will admit I don't know much about XML.

--
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://postgres.enterprisedb.com

  + If your life is a hard drive, Christ can be your backup. +

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

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