Package: debiandoc2dbxml
Version: 0.1
Severity: normal

Hi,

I have to say this debiandoc2dbxml tool works very well but
debiandoc-sgml's document structure has strange features of which
docbook keeps much more sane structure.  For example, chapt and  sect in
debiandoc must be followed only by <p> entity (<para> equivalent) in
debiandoc while docbook is happy to take section under chapter without
<para>.

Please play with attached SGML example with your tool, you get funny
result.  See </para> between <chaper> and <sect> in its excerpts.

|   <chapter>
|     <title>How to use this 1`</title>
|     <para/>
|     <section>

(New tool I am working now is able to handle this gracefully, I think.
 Also line format requirement does not exist.)

-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages debiandoc2dbxml depends on:
ii  sgml-base                 1.26           SGML infrastructure and SGML catal
ii  sgml-data                 2.0.3          common SGML and XML data
ii  sp                        1.3.4-1.2.1-43 James Clark's SGML parsing tools
ii  xsltproc                  1.1.12-8       XSLT command line processor

-- no debconf information

-- 
~\^o^/~~~ ~\^.^/~~~ ~\^*^/~~~ ~\^_^/~~~ ~\^+^/~~~ ~\^:^/~~~ ~\^v^/~~~ +++++
        Osamu Aoki <[EMAIL PROTECTED]>  Yokohama Japan, GPG-key: A8061F32
 .''`.  Debian Reference: post-installation user's guide for non-developers
 : :' : http://qref.sf.net and http://people.debian.org/~osamu
 `. `'  "Our Priorities are Our Users and Free Software" --- Social Contract

<!DOCTYPE debiandoc  PUBLIC "-//DebianDoc//DTD DebianDoc//EN">

<debiandoc>

<book>
<title>Debiandoc example</title>
<author>
 <name>Osamu Aoki</name>
 <email>[EMAIL PROTECTED]</email>
</author>

<copyright>
  <copyrightsummary>
    Copyright &copy; 2002 by Osamu Aoki <email>[EMAIL PROTECTED]</>
  </copyrightsummary>
</copyright>
<toc sect1>  <!-- list section to sect1 -->

<chapt>How to use this 1`
<p>

<sect>How sect
<p>
<list>
<item>list item 1x
<item>list item 2x
<item>list item 3x
</list>

</book>
</debiandoc>

Reply via email to