Re: BUG #3734: Invalid XML schema output.

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Euler Taveira de Oliveira <euler(at)timbira(dot)com>, Peter Eisentraut <peter_e(at)gmx(dot)net>, pgsql-bugs(at)postgresql(dot)org, Ben Leslie <benno(at)benno(dot)id(dot)au>
Subject: Re: BUG #3734: Invalid XML schema output.
Date: 2007-11-23 15:53:13
Message-ID: 200711231553.lANFrDp10713@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Tom Lane wrote:
> Euler Taveira de Oliveira <euler(at)timbira(dot)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(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://postgres.enterprisedb.com

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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Harald Armin Massa 2007-11-23 16:22:04 Re: BUG #3734: Invalid XML schema output.
Previous Message ludo 2007-11-23 11:58:48 BUG #3776: problem with drop database or dropdb