| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
|---|---|
| To: | Euler Taveira de Oliveira <euler(at)timbira(dot)com> |
| Cc: | Bruce Momjian <bruce(at)momjian(dot)us>, 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 07:06:38 |
| Message-ID: | 23592.1195801598@sss.pgh.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-bugs |
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'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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | ludo | 2007-11-23 11:58:48 | BUG #3776: problem with drop database or dropdb |
| Previous Message | Euler Taveira de Oliveira | 2007-11-23 04:33:07 | Re: BUG #3734: Invalid XML schema output. |