Pipeline 2 / server +command line / java gui and none input files are working?

27 views
Skip to first unread message

Tuomas Kassila

unread,
Aug 3, 2017, 9:06:27 AM8/3/17
to DAISY Pipeline Developers
Hi,

help me with this situation:

(1)[ERROR]      err:SXXP0005:The source document is in namespace http://www.daisy.org/z3986/2005/dtbook/, but none of the template rules match elements in this namespace
(2)[ERROR]      err:XD0001:Only whitespace text nodes can appear at the top level in a document

I have donwloaded lastest linux and gui windows version yesterday. I'm running pipeline2 as localhost server and client:

Client version:                 2.1.0
Pipeline version:               1.10.0
Pipeline authentication:        false

The server has been started:

export JAVA_HOME=/usr/lib/jvm/zulu-8-amd64
/usr/local/java/daisy-pipeline/bin/pipeline2

I got always the same errror with diffent dtbooks:

(1)[ERROR]      err:SXXP0005:The source document is in namespace http://www.daisy.org/z3986/2005/dtbook/, but none of the template rules match elements in this namespace
(2)[ERROR]      err:XD0001:Only whitespace text nodes can appear at the top level in a document

I have updated server jars by updater app to the latest code.

I have two source files: none valid dtbook file and samples/dtbook/hauy_valid.xml, which I have copyed from earlier pipeline2 samples.
**The first none valid dtbook is converting well under javafx gui without validation! **

In the server the first client command line is:

 ../cli/dp2 daisy3-to-epub3 --source "iha.xml" -o "./out/iha.zip" --assert-valid "false"
or
 ../cli/dp2 daisy3-to-epub3 --source "iha.xml" -o "./out" --assert-valid false
etc

and:
../cli/dp2 daisy3-to-epub3 --source "/usr/local/java/daisy-pipeline/test/samples/dtbook/hauy_valid.xml" -o "./out" --assert-valid false

The url http://www.daisy.org/z3986/2005/dtbook/ does not exists any more! I haven't founded any values for that.

Can you give some advice how make this batch runs to work? Or sample sample file and command line that works

Thansk in advance,

Tuomas

Tuomas Kassila

unread,
Aug 9, 2017, 6:33:31 AM8/9/17
to DAISY Pipeline Developers
Solution: I have a wrong script command (daisy3-to-epub3) with a dtbook input file. Instead of script name: dtbook-to-epub3

Tuomas

Bert Frees

unread,
Aug 9, 2017, 11:47:30 AM8/9/17
to daisy-pip...@googlegroups.com
Hi Tuomas,

OK thanks for the heads up.
Reply all
Reply to author
Forward
0 new messages