Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 1F53DB5DCD8 for ; Thu, 1 Sep 2011 15:17:34 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 67202-04 for ; Thu, 1 Sep 2011 18:17:27 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from momjian.us (momjian.us [70.90.9.53]) by mail.postgresql.org (Postfix) with ESMTP id 4C091B5DCD4 for ; Thu, 1 Sep 2011 15:17:27 -0300 (ADT) Received: (from bruce@localhost) by momjian.us (8.11.6/8.11.6) id p81IHPh13964; Thu, 1 Sep 2011 14:17:25 -0400 (EDT) From: Bruce Momjian Message-Id: <201109011817.p81IHPh13964@momjian.us> Subject: Re: sgml cleanup: unescaped '>' characters In-Reply-To: <1314900893.8596.0.camel@vanquo.pezone.net> To: Peter Eisentraut Date: Thu, 1 Sep 2011 14:17:25 -0400 (EDT) CC: Josh Kupershmidt , pgsql-docs X-Mailer: ELM [version 2.4ME+ PL124 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="US-ASCII" X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.404 tagged_above=-5 required=5 tests=BAYES_00=-1.9, RP_MATCHES_RCVD=-0.504 X-Spam-Level: X-Archive-Number: 201109/5 X-Sequence-Number: 6926 Peter Eisentraut wrote: > On tor, 2011-09-01 at 10:17 -0400, Bruce Momjian wrote: > > Peter Eisentraut wrote: > > > > >> as well as seemingly-invalid SGML, such as using '>' unescaped inside > > > > >> normal SGML entries. > > > > > > > > > > Unescaped > is valid, AFAIK. > > > > > > > > Oh, that's interesting. I took a quick look at "The SGML FAQ book", > > > > page 73 [1], which supports this claim. > > > > > > > > But I notice we've been fixing such issues in the recent past (e.g. > > > > commit d420ba2a2d4ea4831f89a3fd7ce86b05eff932ff). Don't we want to > > > > continue doing so? Not to mention the fact that we have > > > > ./src/tools/find_gt_lt, which while somewhat broken, has the > > > > ostensible goal of finding such problems in the SGML. Or do we want to > > > > stop worrying about '>' entirely, and rename find_gt_lt to find_lt, > > > > instead? > > > > > > > [1] http://books.google.com/books?id=OyJHFJsnh10C&lpg=PA229&ots=DGkYDdvbhE&pg=PA73#v=onepage&q&f=false > > > > > > I don't know what the rationale for this tool is. I have never used it. > > > Clearly, the reference shows, and the tools we use confirm, that it is > > > not necessary to use it. > > > > I have updated the scripts and instructions accordingly. > > That still leaves open why we bother about escaping <. The problem is that I often add SGML that has: if (1 < 0) ... I need something to warn me about those, especially in the release notes. -- Bruce Momjian http://momjian.us EnterpriseDB http://enterprisedb.com + It's impossible for everything to be true. +