Re: monitoring.sgml missing tag

From: Andres Freund <andres(at)anarazel(dot)de>
To: Erik Rijkers <er(at)xs4all(dot)nl>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: monitoring.sgml missing tag
Date: 2017-04-07 21:11:47
Message-ID: 20170407211147.xulgbwj2lvp3qhhb@alap3.anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

On 2017-04-07 23:00:01 +0200, Erik Rijkers wrote:
> On 2017-04-07 22:50, Andres Freund wrote:
> > On 2017-04-07 22:47:55 +0200, Erik Rijkers wrote:
> > > monitoring.sgml has one </row> tag missing
> >
> > Is that actually an issue? SGML allows skipping certain close tags, and
> > IIRC row is one them. We'll probably move to xml at some point not too
> > far away, but I don't think it makes much sense to fix these one-by-one.
>
>
> Well, I have only used make oldhtml before now so maybe I am doing
> something wrong.
>
> I try to run make html.
>
> First, I got this (just showing first few of a 75x repeat):
>
> $ time ( cd /home/aardvark/pg_stuff/pg_sandbox/pgsql.HEAD/doc/src/sgml;
> make html; )
> osx -D . -D . -x lower postgres.sgml >postgres.xml.tmp
> osx:monitoring.sgml:1278:12:E: document type does not allow element "ROW"
> here

> xmllint --noout --valid postgres.xml
> xsltproc --stringparam pg.version '10devel' stylesheet.xsl postgres.xml
> runtime error: file stylesheet-html-common.xsl line 41 element call-template
> The called template 'id.attribute' was not found.
> runtime error: file stylesheet-html-common.xsl line 41 element call-template

> Any hints welcome...
>
> $ cat /etc/redhat-release
> CentOS release 6.6 (Final)

I think this means that your tools are too old. See e.g.
http://archives.postgresql.org/message-id/21063.1491231996%40sss.pgh.pa.us

Greetings,

Andres Freund

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Joe Conway 2017-04-07 21:22:19 Re: partitioned tables and contrib/sepgsql
Previous Message Erik Rijkers 2017-04-07 21:00:01 Re: monitoring.sgml missing tag