Thanks .
I've found another issue;
= Book title
:author: Rahman Usta
:encoding: utf-8
:lang: tr
include::01-one.asc[]
include::02-two.asc[]
include::03-three.asc[]
when you convert this to docbook with asciidoctorjs, it wraps elements with "preface" element.
<?xml version="1.0" encoding="UTF-8"?>
<?asciidoc-toc ?>
<?asciidoc-numbered ?>
<book xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0" lang="tr">
<info>
<title>Book title</title>
<date>2014-08-21</date>
<author>
<personname>
<firstname>Rahman</firstname>
<othername>Usta</othername>
<surname></surname>
</personname>
</author>
<authorinitials>RU</authorinitials>
</info>
<preface>
<title></title>
<simpara><link xlink:href="01-one.asc">01-websocket-protokol.asc</simpara>
<simpara><link xlink:href="02-two.asc">02-w3c-api.asc</simpara>
<simpara><link xlink:href="03-three.asc">03-jsr356-notasyon.asc</simpara>
</preface>
</book>
with preface element, when rendering PDF with apache-fopub, it produces those exceptions.
org.apache.fop.apps.FOPException: org.apache.fop.fo.ValidationException: "fo:page-sequence" is not a valid child of "fo:flow"! (No context info available)
at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:303)
at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:130)
at com.kodcu.service.FopPdfService.generate(FopPdfService.java:74)
at com.kodcu.controller.AsciiDocController$1.call(AsciiDocController.java:181)
at com.kodcu.controller.AsciiDocController$1.call(AsciiDocController.java:177)
at javafx.concurrent.Task$TaskCallable.call(Task.java:1426)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
When you remove preface element, errors goes away.