Your message dated Mon, 7 Mar 2016 22:16:21 +0100 with message-id <[email protected]> and subject line Re: xmltex: ampersands in XML attributes do not get quoted correctly has caused the Debian Bug report #175878, regarding xmltex: ampersands in XML attributes do not get quoted correctly to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 175878: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=175878 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: xmltex Version: 1.9-5 Severity: normal Tags: upstream Hi, when processing Docbook XML files with xmlto (and thus xsltproc and finally pdfxmltex), pdfxmltex barfs on XML element attributes which contain an ampersand ("&"). Test case document: ======================================================================== <?xml version="1.0" encoding="us-ascii"?> <!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"> <section> <title>Test Case for PassiveTeX bug</title> <para> <ulink url="http://xx.yy/?foo=bar&blah=blah">The Ampersand breaks things</ulink> - seems it is not escaped. </para> </section> ======================================================================== This gets transformed into an element <fo:basic-link external-destination="http://xx.yy/?foo=bar&blah=blah"> The Ampersand breaks things</fo:basic-link> The ampersand character in the attribute "&" then breaks pdfxmltex in the middle of analyzine. Seems to be an upstream problem, as the same problem exists within Redhat 7.3, not just Debian 3.1. ======================================================================== Format script: /usr/share/xmlto/format/docbook/pdf Convert to XSL-FO Real stylesheet: /usr/share/sgml/docbook/stylesheet/xsl/nwalsh/fo/docbook.xsl xmllint >/dev/null --loaddtd --postvalid /home/uli/src/gnus-faq/src/testcase.xml Stylesheet: /tmp/xmlto-xsl.nQr0m4 xsltproc --novalid --nonet --xinclude \ -o /tmp/xmlto.eU0ai3/testcase.proc \ /tmp/xmlto-xsl.nQr0m4 \ /home/uli/src/gnus-faq/src/testcase.xml Making pages on a4 paper (209.9028mm x 297.0389mm) Post-process XSL-FO to PDF This is pdfTeX, Version 3.14159-1.10a-devel (Web2C 7.3.9) (./tmp.fo{/usr/share/texmf/pdftex/config/pdftex.cfg Warning: pdfxmltex (file /usr/share/texmf/pdftex/config/pdftex.cfg): invalid li ne in config file: `pdf_minorversion 4' } LaTeX2e <2001/06/01> Babel <v3.7h> and hyphenation patterns for american, french, german, ngerman, n ohyphenation, loaded. xmltex version: 2002/06/25 v1.9 (Exp): (/usr/share/texmf/tex/xmltex/config/xmltex.cfg) No File: tmp.cfg (/usr/share/texmf/tex/xmltex/passivetex/fotex.xmt) (/usr/share/texmf/tex/latex/base/article.cls Document Class: article 2001/04/21 v1.4e Standard LaTeX document class (/usr/share/texmf/tex/latex/base/size10.clo)) (/usr/share/texmf/tex/xmltex/passivetex/fotex.sty (/usr/share/texmf/tex/latex/graphics/graphicx.sty (/usr/share/texmf/tex/latex/graphics/keyval.sty) (/usr/share/texmf/tex/latex/graphics/graphics.sty (/usr/share/texmf/tex/latex/graphics/trig.sty) (/usr/share/texmf/tex/latex/config/graphics.cfg) (/usr/share/texmf/tex/latex/graphics/pdftex.def))) (/usr/share/texmf/tex/latex/tools/multicol.sty) (/usr/share/texmf/tex/latex/misc/rotating.sty (/usr/share/texmf/tex/latex/base/ifthen.sty)) (/usr/share/texmf/tex/latex/tools/array.sty) (/usr/share/texmf/tex/latex/amsmath/amsmath.sty For additional information on amsmath, use the `?' option. (/usr/share/texmf/tex/latex/amsmath/amstext.sty (/usr/share/texmf/tex/latex/amsmath/amsgen.sty)) (/usr/share/texmf/tex/latex/amsmath/amsbsy.sty) (/usr/share/texmf/tex/latex/amsmath/amsopn.sty)) (/usr/share/texmf/tex/latex/tools/longtable.sty) (/usr/share/texmf/tex/latex/latex2html/url.sty) (/usr/share/texmf/tex/latex/misc/ulem.sty) (/usr/share/texmf/tex/latex/graphics/color.sty (/usr/share/texmf/tex/latex/config/color.cfg)) (/usr/share/texmf/tex/latex/psnfss/times.sty) (/usr/share/texmf/tex/xmltex/passivetex/mlnames.sty) (/usr/share/texmf/tex/xmltex/passivetex/unicode.sty WARNING: tipa package not loaded. some symbols will fail (/usr/share/texmf/tex/latex/base/fontenc.sty (/usr/share/texmf/tex/latex/cyrillic/t2aenc.def) (/usr/share/texmf/tex/latex/base/t1enc.def)) (/usr/share/texmf/tex/latex/amsfonts/amssymb.sty (/usr/share/texmf/tex/latex/amsfonts/amsfonts.sty)) (/usr/share/texmf/tex/latex/tools/bm.sty) (/usr/share/texmf/tex/latex/base/textcomp.sty (/usr/share/texmf/tex/latex/base/ts1enc.def)) (/usr/share/texmf/tex/latex/psnfss/pifont.sty (/usr/share/texmf/tex/latex/psnfss/upzd.fd) (/usr/share/texmf/tex/latex/psnfss/upsy.fd)) (/usr/share/texmf/tex/latex/wasysym/wasysym.sty) (/usr/share/texmf/tex/latex/misc/stmaryrd.sty) WARNING: Elsevier font setup not found (/usr/share/texmf/tex/xmltex/passivetex/dummyels.sty) WARNING: mmasym package not loaded. some symbols will fail (/usr/share/texmf/tex/latex/amsfonts/eucal.sty)) (/usr/share/texmf/tex/latex/misc/marvosym.sty) (/usr/share/texmf/tex/xmltex/passivetex/ucharacters.sty) (/usr/share/texmf/tex/latex/hyperref/nameref.sty) (/usr/share/texmf/tex/latex/hyperref/hyperref.sty (/usr/share/texmf/tex/latex/hyperref/pd1enc.def) (/usr/share/texmf/tex/latex/config/hyperref.cfg) Implicit mode ON; LaTeX internals redefined ) *hyperref using default driver hpdftex* (/usr/share/texmf/tex/latex/hyperref/hpdftex.def)) No file tmp.aux. (/usr/share/texmf/tex/latex/cyrillic/t2acmr.fd) (/usr/share/texmf/tex/latex/base/ts1cmr.fd) (/usr/share/texmf/tex/latex/psnfss/t1ptm.fd) No file tmp.out. No file tmp.out. (/usr/share/texmf/tex/latex/psnfss/t1phv.fd) ! Illegal parameter number in definition of \x@temp. <to be read again> 1 l.3 ..."url(http://xx.yy/?foo=bar&blah=blah)"> The Ampersand breaks thing... ? ! Emergency stop. <to be read again> 1 l.3 ..."url(http://xx.yy/?foo=bar&blah=blah)"> The Ampersand breaks thing... No pages of output. Transcript written on tmp.log. ======================================================================== -- System Information: Debian Release: testing/unstable Architecture: i386 Kernel: Linux mir 2.4.20-686 #1 Sat Dec 21 15:58:35 EST 2002 i686 Locale: LANG=C, LC_CTYPE=de_DE@euro Versions of packages xmltex depends on: ii tetex-base 1.0.2+20021025-5 basic teTeX library files ii tetex-bin 1.0.7+20021025-8 teTeX binary files ii tetex-extra 1.0.2+20021025-5 extra teTeX library files -- no debconf information
--- End Message ---
--- Begin Message ---On 08.01.03 Hans Ulrich Niedermann ([email protected]) wrote: Hi, > when processing Docbook XML files with xmlto (and thus xsltproc and > finally pdfxmltex), pdfxmltex barfs on XML element attributes which > contain an ampersand ("&"). > > Test case document: > Simply calling xmlto causes a build failure b/c passivetex is not available any more. When using dblatex to create the pdf file the build runs fine. Not sure where in the chain the bug was fixed, but it is now. Closing. hille@sid:~/devel/TeXLive/open_bugs/xmltex $ xmlto pdf 175878.xml Making portrait pages on a4 paper (210mmx297mm) PassiveTeX is needed for this format, but it is not installed. Please install the passivetex package. hille@sid:~/devel/TeXLive/open_bugs/xmltex $ xmlto --with-dblatex pdf 175878.xml Build the book set list... Build the listings... XSLT stylesheets DocBook - LaTeX 2e (0.3.7-1) =================================================== Warning: the root element is not an article nor a book Warning: section wrapped with article Build 175878.pdf '175878.pdf' successfully built Hilmar -- sigfault
--- End Message ---

