Skip site navigation (1) Skip section navigation (2)

Re: [HACKERS] Uppercase SGML entity declarations

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Gabriele Bartolini <gabriele(dot)bartolini(at)2ndquadrant(dot)it>
Cc: pgsql-docs(at)postgresql(dot)org, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [HACKERS] Uppercase SGML entity declarations
Date: 2011-04-04 14:57:55
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-docspgsql-hackers
On Mon, Apr 4, 2011 at 5:11 AM, Gabriele Bartolini
<gabriele(dot)bartolini(at)2ndquadrant(dot)it> wrote:
>  I have made very small modifications to a few files in the documentation
> directory, which involve SGML entity declarations. Currently they are all
> written lowercase, the patch makes them uppercase. This won't affect SGML
> parsing, as SGML is case insensitive - even though it is a good practice to
> write SGML declarations in uppercase.
>   An example is:
> <!entity abort              system "abort.sgml">
>   written
> <!ENTITY abort              SYSTEM "abort.sgml">
>   This patch makes also every single directive of them XML compliant.

Forgive me for asking what may seem like a stupid question, but what's
not XML compliant about them now, and why do we care?  The text is
only ever going to parse as SGML (not XML) so I guess I don't see why
it matters.  I don't really object to the proposed patch but I guess
I'm not sure what it accomplishes.

Robert Haas
The Enterprise PostgreSQL Company

In response to


pgsql-docs by date

Next:From: Tom LaneDate: 2011-04-04 15:15:30
Subject: Re: [HACKERS] Uppercase SGML entity declarations
Previous:From: Robert HaasDate: 2011-04-04 14:54:01
Subject: Re: [HACKERS] found a very confusing and maybe outdated sentence

pgsql-hackers by date

Next:From: Tom LaneDate: 2011-04-04 14:58:16
Subject: Re: cast from integer to money
Previous:From: Robert HaasDate: 2011-04-04 14:56:07
Subject: Re: Proposal: q-gram GIN and GiST indexes

Privacy Policy | About PostgreSQL
Copyright © 1996-2018 The PostgreSQL Global Development Group