Re: [xslt] [docbook-apps] I/O error : Is a directory - error processing a DB book withdocbook-xsl chunk stylesheet

Well, the usage statement for xsltproc says the --output option takes a filename, and doesn't mention a directory name. If your intention is to chunk into the built-doc directory, then use the DocBook stylesheet parameter named "base.dir" to specify that directory, as in

--stringparam base.dir built-doc/

Bob Stayton
Sagehill Enterprises
DocBook Consulting
bobs sagehill net

----- Original Message ----- From: "Daniel Leidert" <daniel leidert spam gmx net>
To: <xslt gnome org>
Cc: "ml_docbook-apps" <docbook-apps lists oasis-open org>
Sent: Wednesday, November 21, 2007 9:55 AM
Subject: [docbook-apps] I/O error : Is a directory - error processing a DB book withdocbook-xsl chunk stylesheet

Hi libxslt authors,

Some time ago I already reported this issue [1], but it seems I forgot
to examine it further. Today I got a private mail about the same problem
so I decided to find a testcase to debug the problem and I was able to
create a very short example, that fails for me with an I/O.

Can you please be so kind to take a look at it and verify, if it's a bug
in libxslt? In this case I would open a bug report. Please follow these
steps after saving the attached files:

mkdir built-doc
xsltproc --output ./built-doc/ book.xsl book.xml

The result for me is:

Writing ch01.html for chapter
Writing index.html for book
I/O error : Is a directory
I/O error : Is a directory

The problem seems to be related to the --output option and the doctype-*
attributes of xsl:output, because if you don't use --output option or
remove the doctype-* attributes, then the example does not fail.

I'm working with a recent Debian Sid (docbook-xsl 1.73.2, libxslt
1.1.22, libxml2 2.6.30).

CCed docbook-apps for the case, it is caused by the docbook-xsl
stylesheets and their authors can help

[1] gnome org/msg00897.html

Regards, Daniel


To unsubscribe, e-mail: docbook-apps-unsubscribe lists oasis-open org
For additional commands, e-mail: docbook-apps-help lists oasis-open org

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]