Re: errors during fo:external-graphic processing

Stefan Seefeld <[email protected]> Sun, 11 Sep 2005 19:15:49 -0400
Newsgroups gmane.text.xml.xmlroff.general
Message-ID <[email protected]>
Tony Graham wrote:

> Committed (with modifications), thank you.

Great, thanks !

I don't know the xsl-fo specs very well, but does the 'src' attribute in
external-graphic allow any uri type, in particular, any scheme ? In that cases,
you should probably use libxml2's nanohttp module to load the file content,
instead of assuming it is a local file.

Also, I note you have stripped off the content-type attribute with the
libfo-compat.xsl. What content-types does xmlroff support right now, and
how does it detect them ? By file extension ? (I note you are using
'gdk_pixbuf_new_from_file' but documentation for that only indicates
'The file format is detected automatically.' I think supported formats
have to be well-documented.

Thanks,
		Stefan


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf