Package: pandoc Version: 1.12.4.2~dfsg-1 The DocBook output generated by pandoc is missing the XML header documenting the format. Is there a reason for this?
Instead of getting this result, % printf "header\n===\n\nbody\n"|pandoc -o - -t docbook - <sect1 id="header"> <title>header</title> <para> body </para> </sect1> % I suggest to return something like this: % printf "header\n===\n\nbody\n"|pandoc -o - -t docbook - <?xml version="1.0" encoding='UTF-8' ?> <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"> <sect1 id="header"> <title>header</title> <para> body </para> </sect1> % This allow XML validators to check the content. -- Happy hacking Petter Reinholdtsen _______________________________________________ Pkg-haskell-maintainers mailing list Pkg-haskell-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-haskell-maintainers