Re: Is postgres.gif missing in cvs?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: Devrim GÜNDÜZ <devrim(at)CommandPrompt(dot)com>, Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Is postgres.gif missing in cvs?
Date: 2007-12-03 23:57:04
Message-ID: 16274.1196726224@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Andrew Dunstan <andrew(at)dunslane(dot)net> writes:
> Tom Lane wrote:
>> Hmph. What version of the SGML tools are you using? It seems more
>> prone to get confused by non-entity-ized '<' and '>' than what the
>> rest of us are using.

> I'm not totally au fait with the rules of SGML. Does it allow literal
> '<' in text nodes? In most places I looked in our docs we seem to use
> '&lt;' as I would have expected.

It appears to me that the tools will silently take < (and also &)
as literal characters, *if* what follows them happens to not look
too much like a tag or entity :-(. Pretty ugly. The particular
cases that were biting Devrim seemed to all be occurrences of <>
which perhaps is an allowed tag in his release.

I found out that -wxml will cause openjade to warn about these cases.
It turns on a boatload of other warnings that we probably don't care
about, so I'm not going to recommend using it by default, but it
enabled me to find a lot of problem spots just now.

Oh, another interesting behavior that was turned up by this ---
apparently you can get away with leaving off the ";" in "&lt;",
because we had done so in a few places. -wxml catches that too.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Devrim GÜNDÜZ 2007-12-04 00:56:05 Re: Is postgres.gif missing in cvs?
Previous Message Tom Lane 2007-12-03 23:51:46 Re: Is postgres.gif missing in cvs?

Browse pgsql-patches by date

  From Date Subject
Next Message Devrim GÜNDÜZ 2007-12-04 00:56:05 Re: Is postgres.gif missing in cvs?
Previous Message Tom Lane 2007-12-03 23:51:46 Re: Is postgres.gif missing in cvs?