[xml/sgml-pkgs] Bug#352034: db2latex-xsl: no punctuation with sgmltag inside programlisting

David Kolovratník kolovratnik at gmail.com
Thu Feb 9 09:42:11 UTC 2006


Package: db2latex-xsl
Version: 0.8pre1-5
Severity: normal



-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.14.3
Locale: LANG=cs_CZ.UTF-8, LC_CTYPE=cs_CZ.UTF-8 (charmap=UTF-8)

-- no debconf information

Promised XML punctuation around XML construct is missing if sgmltag
appears inside programlisting.

"DocBook: The Definitive Guide" says on programlisting:
Other markup within a ProgramListing is recognized.

So I think sgmltag should be recognized and generate punctuation.

Example:

      <example>
	<title>Example of sgmltag usage</title>
	<programlisting>
<sgmltag class="xmlpi">xml version="1.0"</sgmltag>
<sgmltag class="starttag">!DOCTYPE tagcatalog SYSTEM "tag.dtd"</sgmltag>
<sgmltag class="starttag">tagcatalog</sgmltag>
  <sgmltag class="starttag">tagentry</sgmltag><sgmltag class="starttag">tag</sgmltag>NNFS1----- at ----<sgmltag class="endtag">tag</sgmltag><sgmltag class="starttag">shorthand</sgmltag>NFS1@<sgmltag class="endtag">shorthand</sgmltag><sgmltag class="endtag">tagentry</sgmltag>
<sgmltag class="endtag">tagcatalog</sgmltag>
	</programlisting>
      </example>

David Kolovratník




More information about the debian-xml-sgml-pkgs mailing list