Re: DOCS: SGML identifier may not exceed 44 characters - Mailing list pgsql-hackers

From Christopher Browne
Subject Re: DOCS: SGML identifier may not exceed 44 characters
Date
Msg-id BANLkTikM2xap7F5V9rbKOukbfxGcfKcHog@mail.gmail.com
Whole thread Raw
In response to Re: DOCS: SGML identifier may not exceed 44 characters  (Alvaro Herrera <alvherre@commandprompt.com>)
Responses Re: [DOCS] DOCS: SGML identifier may not exceed 44 characters  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Tue, May 31, 2011 at 3:22 PM, Alvaro Herrera
<alvherre@commandprompt.com> wrote:
> Excerpts from Brendan Jurd's message of mar may 31 02:17:22 -0400 2011:
>> Hi folks,
>>
>> I was working on a little docs patch today, and when I tried to
>> `make`, openjade choked on an identifier in information_schema.sgml,
>> which is very much unrelated to my changes:
>>
>> openjade:information_schema.sgml:828:60:Q: length of name token must
>> not exceed NAMELEN (44)
>
> Odd.  I tried it here and it doesn't fail -- same openjade version.
> Maybe mine is patched.

It's not likely an issue of how OpenJade was compiled; there has been
a limitation in how SGML parsing was configured.  If you poke around
in /usr/share/sgml, you should find some configuration indicating
NAMELEN was set to 44.

I recall hearing that this was an issue in older Red Hat and
derivative distributions, and thought that it was supposed to be
resolved several years ago, but perhaps there's something to undermine
that belief.

At any rate, I'd suggest grepping around for NAMELEN in
/usr/share/sgml; you'll likely see a limitation there, in some SGML
configuration file.
--
When confronted by a difficult problem, solve it by reducing it to the
question, "How would the Lone Ranger handle this?"

pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Getting a bug tracker for the Postgres project
Next
From: Tom Lane
Date:
Subject: Re: Getting a bug tracker for the Postgres project