From: | Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com> |
---|---|
To: | Tatsuo Ishii <ishii(at)sraoss(dot)co(dot)jp> |
Cc: | pgsql-docs(at)postgresql(dot)org |
Subject: | Re: no more SGML empty tags |
Date: | 2017-10-18 12:17:08 |
Message-ID: | dfcb6edf-abfe-04c6-23ab-88938f04f1d2@2ndquadrant.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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
From | Date | Subject | |
---|---|---|---|
Next Message | Tatsuo Ishii | 2017-10-18 12:22:27 | Re: no more SGML empty tags |
Previous Message | Tatsuo Ishii | 2017-10-18 00:09:08 | Re: no more SGML empty tags |