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
[EMAIL PROTECTED]


----- Original Message ----- From: "Daniel Leidert" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: "ml_docbook-apps" <[email protected]>
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] http://www.mail-archive.com/[EMAIL PROTECTED]/msg00897.html

Regards, Daniel



--------------------------------------------------------------------------------


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to