tforsberg / docbkx-tools

Automatically exported from code.google.com/p/docbkx-tools
0 stars 0 forks source link

No output with <chunkedOutput>true</chunkedOutput> #91

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hi,

If i am configure <chunkedOutput>true</chunkedOutput> i got no html files. 
Instead the hole content ist printed/logged on the console. I tried a lot of 
things and now i have a very very small setting that reproduces the problem:

My Configuration is:
<chunkedOutput>true</chunkedOutput>
<htmlCustomization>${basedir}/src/docbkx/docbook-common.xsl</htmlCustomization>

My Stylesheet looks like:
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:db="http://docbook.org/ns/docbook"
    version="1.1">
    <xsl:import href="urn:docbkx:stylesheet/profile-docbook.xsl" />
</xsl:stylesheet>

If i am using <xsl:import href="urn:docbkx:stylesheet" /> instead of 
<xsl:import href="urn:docbkx:stylesheet/profile-docbook.xsl" /> everything 
works fine. So the combination of <xsl:import 
href="urn:docbkx:stylesheet/profile-docbook.xsl" /> and 
<chunkedOutput>true</chunkedOutput> is possibly a problem.

The behavior is the same in 2.0.13 and 2.0.14. 
In Version 2.0.12 i got a non chunking output. See ticket #73.

----------

What steps will reproduce the problem?
1. <chunkedOutput>true</chunkedOutput>
2.<xsl:import href="urn:docbkx:stylesheet/profile-docbook.xsl" /> in the 
stylesheet

What is the expected output? 
A chunked html output. 
What do you see instead?
The html output printed on the console

What version of the product are you using? On what operating system?
2.0.13 and 2.0.14. (DocBook: 5.0-all) 
Windows 7

best wishes
Nico

Original issue reported on code.google.com by Nico.Alp...@googlemail.com on 13 Jun 2012 at 9:02

Attachments:

GoogleCodeExporter commented 8 years ago
Hello,

did you try with "profile-chunk.xsl" instead of "profile-docbook.xsl" which 
sounds better for chunked output?

Regards,
Cedric,

Original comment by MimilO...@gmail.com on 21 Jun 2012 at 3:27

GoogleCodeExporter commented 8 years ago
I had the same problem when I tried to reuse the same customization which I 
used for non-chunked output (using the profile-docbook.xsl). After I have 
created a separate customization with profile-chunk.xsl it works.

Original comment by Krzys.So...@gmail.com on 1 Aug 2012 at 12:52

GoogleCodeExporter commented 8 years ago
I close this non issue.

Original comment by MimilO...@gmail.com on 24 Sep 2012 at 7:14