Bug#672409: marked as done (fop: First element must be the fo:root formatting object)

2015-08-18 Thread Debian Bug Tracking System
Your message dated Tue, 18 Aug 2015 22:05:07 +0200
with message-id 
ca+7wuswohfssxkp932kh59r_zudz4nucsowuatcdwprpazz...@mail.gmail.com
and subject line 
has caused the Debian Bug report #672409,
regarding fop: First element must be the fo:root formatting object
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 ow...@bugs.debian.org
immediately.)


-- 
672409: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=672409
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
---BeginMessage---
Package: xmlto
Version: 0.0.20-5
Severity: normal


When including a PNG file, xmlto fails with the following:

Making portrait pages on letter paper (215.9mmx279.4mm)
This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6)
 %-line parsing enabled.
entering extended mode
(./tmp.fo
LaTeX2e 2005/12/01
Babel v3.8h and hyphenation patterns for english, usenglishmax, dumylang, noh
yphenation, ukrainian, russian, bulgarian, pinyin, 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-texlive/tex/latex/base/article.cls
Document Class: article 2005/09/16 v1.4f Standard LaTeX document class
(/usr/share/texmf-texlive/tex/latex/base/size10.clo))
(/usr/share/texmf/tex/xmltex/passivetex/fotex.sty
)
No file tmp.aux.
(/usr/share/texmf/tex/latex/tipa/t3ptm.fd)
(/usr/share/texmf-texlive/tex/latex/cyrillic/t2acmr.fd)
(/usr/share/texmf-texlive/tex/latex/base/ts1cmr.fd)
(/usr/share/texmf-texlive/tex/latex/psnfss/t1ptm.fd)
No file tmp.out.
No file tmp.out.
INFO: Using normal, i.e. nonfrench-spacing in document
(/usr/share/texmf-texlive/tex/latex/psnfss/t1phv.fd)

! LaTeX Error: Something's wrong--perhaps a missing \item.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H return  for immediate help.
 ...  
  
l.211 ... hyphenation-remain-character-count=2
  title/fo:block/fo:block...

? 
! Emergency stop.
 ...  
  
l.211 ... hyphenation-remain-character-count=2
  title/fo:block/fo:block...

!  == Fatal error occurred, no output PDF file produced!
Transcript written on tmp.log.



Steps to reproduce:
$ wget http://www.debian.org/logos/openlogo-100.png
$ xmlto pdf in.xml

where:
$ cat in.xml
?xml version=1.0 encoding=UTF-8?
!DOCTYPE article PUBLIC -//OASIS//DTD DocBook XML V4.5//EN 
http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd;
article
  articleinfo
titletitle/title
author
  firstnameauthor/firstname
  surnameauthor2/surname
  affiliation
orgnamebla/orgname
  /affiliation
/author
pubdate2001/pubdate
  /articleinfo
  section
titlesection 1/title
paratext section 1/para
figure
  titlefirst/title
  mediaobject
imageobject
  imagedata fileref=openlogo-100.png/
/imageobject
  /mediaobject
/figure
  /section
/article

Thanks  

-- System Information:
Debian Release: 5.0.3
  APT prefers stable
  APT policy: (500, 'stable'), (200, 'testing'), (100, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.30-bpo.1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages xmlto depends on:
ii  debianutils 2.30 Miscellaneous utilities specific t
ii  docbook-xml 4.5-6standard XML documentation system,
ii  docbook-xsl 1.73.2.dfsg.1-5  stylesheets for processing DocBook
ii  libc6   2.10.2-2 GNU C Library: Shared libraries
ii  libxml2-utils   2.6.32.dfsg-5+lenny1 XML utilities
ii  sgml-base   1.26 SGML infrastructure and SGML catal
ii  xsltproc1.1.24-2 XSLT command line processor

Versions of packages xmlto recommends:
ii  libpaper-utils   1.1.23+nmu1 library for handling paper charact

Versions of packages xmlto suggests:
ii  fop   1:0.94.dfsg-2  XML to PDF Translator
ii  links 2.1pre37-1.1   Web browser running in text mode
ii  lynx  2.8.7dev9-2.1  Text-mode WWW Browser (transitiona
ii  w3m   0.5.2-2+b1 WWW browsable pager with excellent
ii  xmltex1.9.debian.1-1 TeX package for processing XML fil

-- no debconf information


---End Message---
---BeginMessage

Bug#672409: fixed in experimental

2015-08-18 Thread Mathieu Malaterre
Control: found -1 1:1.1.dfsg2-1
Control: fixed -1 1:2.0+dfsg-1

I can no longer reproduce the issue:

$ xmlto --with-fop pdf in.xml
Making portrait pages on letter paper (215.9mmx279.4mm)
[ERROR] FOUserAgent - Image not found. URI: openlogo-100.png. (See position
2:33014)
[WARN] FOUserAgent - Font Symbol,normal,700 not found. Substituting with
Symbol,normal,400.
[WARN] FOUserAgent - Font ZapfDingbats,normal,700 not found. Substituting
with ZapfDingbats,normal,400.
[INFO] FOUserAgent - Rendered page #1.
/tmp/xmlto.UPD2Ah
__
This is the maintainer address of Debian's Java team
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers. 
Please use
debian-j...@lists.debian.org for discussions and questions.

Bug#672409:

2012-05-11 Thread Mathieu Malaterre
Same issue with fop directly:


$ fop -catalog in.xml in.pdf
Exception
javax.xml.transform.TransformerException:
org.apache.fop.fo.ValidationException: First element must be the
fo:root formatting object. Found (Namespace URI: , Local Name:
article) instead. Please make sure you're producing a valid XSL-FO
document.



__
This is the maintainer address of Debian's Java team
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers. 
Please use
debian-j...@lists.debian.org for discussions and questions.