Re: [DOCS] no more SGML empty tags

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: [DOCS] no more SGML empty tags
Дата
Msg-id dfcb6edf-abfe-04c6-23ab-88938f04f1d2@2ndquadrant.com
обсуждение исходный текст
Ответ на Re: [DOCS] no more SGML empty tags  (Tatsuo Ishii <ishii@sraoss.co.jp>)
Ответы Re: [DOCS] no more SGML empty tags
Список 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 по дате отправления:

Предыдущее
От: Tatsuo Ishii
Дата:
Сообщение: Re: [DOCS] no more SGML empty tags
Следующее
От: Tatsuo Ishii
Дата:
Сообщение: Re: [DOCS] no more SGML empty tags