Re: [DOCS] no more SGML empty tags - Mailing list pgsql-docs

From Peter Eisentraut
Subject Re: [DOCS] no more SGML empty tags
Date
Msg-id dfcb6edf-abfe-04c6-23ab-88938f04f1d2@2ndquadrant.com
Whole thread Raw
In response to Re: [DOCS] no more SGML empty tags  (Tatsuo Ishii <ishii@sraoss.co.jp>)
Responses Re: [DOCS] no more SGML empty tags  (Tatsuo Ishii <ishii@sraoss.co.jp>)
List pgsql-docs
On 10/17/17 20:09, Tatsuo Ishii wrote:
>> In XML, empty tags such as </> are no longer allowed.  In preparation
>> for converting the documentation to DocBook XML, I have committed a
>> patch that expands all such empty tags.  There is also now a warning
>> from onsgmls when empty tags are used.  (There is no -werror option,
>> unfortunately.)
> 
> Just out of curiosity, did you do the work (expanding the empty tags)
> manually or using some tools? We are using SGML DocBook in the
> Pgpool-II project and a little bit annoyed by the empty tags (for
> example emacs auto indentation does not work with empty tags).

I used the tools provided in the "Docbook 5.x" thread, in particular the
sgml2xml.pl script.  I think you should be able to use that for your
documentation as well.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


-- 
Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-docs

pgsql-docs by date:

Previous
From: Tatsuo Ishii
Date:
Subject: Re: [DOCS] no more SGML empty tags
Next
From: Tatsuo Ishii
Date:
Subject: Re: [DOCS] no more SGML empty tags