Hi Gaetan,

I received the following report:

On Wed, Feb 16, 2011 at 15:18:05 +0000, Peter Pearse wrote:

> Need to edit xorg-macros.m4:: # XORG_WITH_XMLTO([MIN-VERSION], [DEFAULT])
> 
> to add content to the file used to detect XML to .txt conversion
> 
> e.g.
> 
> --- xorg-cf-files/aclocal.m4  2011-01-08 22:50:19 +0000
> +++ xorg-cf-files/aclocal.m4  2011-02-16 15:15:16 +0000
> @@ -1803,6 +1803,11 @@
>  # Test for the ability of xmlto to generate a text target
>  have_xmlto_text=no
>  cat > conftest.xml << "EOF"
> +<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
> +                   "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd";>
> +
> +<book id="saver">
> +</book>
>  EOF
>  AS_IF([test "$have_xmlto" = yes],
>        [AS_IF([$XMLTO --skip-validation txt conftest.xml >/dev/null 2>&1],
> 
And indeed:

$ >conftest.xml
$ xmlto --skip-validation txt conftest.xml
/tmp/conftest.xml:1: parser error : Document is empty

^
/tmp/conftest.xml:1: parser error : Start tag expected, '<' not found

^
unable to parse /tmp/conftest.xml
w3m: Can't load /tmp/xmlto.897OOM/conftest.proc.
$ 

Using xmlto 0.0.23-2 from Debian 6.0.

Cheers,
Julien



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to