OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: Re: [docbook-apps] WebHelp bug?

Hi David,

Thanks for looking into this! Test case attached.

I should probably mention I'm using the 1.78.0 XSL style sheets, with a mildly modified webhelp/template/ folder (just a couple of images replaced with branded versions, such as logo and favicon).

Here again is the error I'm getting when trying to build WebHelp:

No template for "/book/chapter/mediaobject/imageobject/imagedata" (or any of its leaves) exists in the context named "title" in the "en" localization. No template for "/book/chapter/mediaobject/imageobject" (or any of its leaves) exists in the context named "title" in the "en" localization.
XPath error : Invalid type
xmlXPathCompiledEval: 1 objects left on the stack.

Building the following formats works fine, though:

- HTML (one file)
- HTML (chunked per chapter)
- HTML (chunked per section)*
- XHTML (one file)
- XHTML (chunked per chapter)
- XHTML (chunked per section)*
- FO

* Per-section chunking doesn't make sense for the little test case, but it works flawlessly, anyway.



On 25.02.2013 17:02, David Cramer wrote:
On 02/25/2013 05:14 AM, Stefan Hinz wrote:
Note that the construct that makes WebHelp fail is perfectly legal
according to the DocBook DTD. We don't get any errors when building
other formats (XHTML, FO, etc.). Since this is specific to WebHelp, I
wonder if we've simply hit a bug.

Let me know, and I'll file a bug report on SF.net.

It's very odd that this would affect only webhelp and not other outputs.
Have you tried with just chunked html and htmlhelp? There's nothing in
the webhelp directly related to those constructs.

Could you post a small test case that causes the problem? I just added
that construct to a test document and couldn't get it to fail (using
xsltproc or saxon).


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


Stefan Hinz <stefan.hinz@oracle.com>, MySQL Documentation Manager

Phone: +49-30-82702940, Fax: +49-30-82702941, http://dev.mysql.com/doc

ORACLE Deutschland B.V.&  Co. KG
Registered Office: Riesstr. 25, 80992 Muenchen, Germany
Commercial Register: Local Court Of Munich, HRA 95603
Managing Director: Jürgen Kunz

General Partner: ORACLE Deutschland Verwaltung B.V.
Hertogswetering 163/167, 3543 AS Utrecht, Niederlande
Register Of Chamber Of Commerce: Midden-Niederlande, No. 30143697
Managing Directors: Alexander van der Ven, Astrid Kepper, Val Maher

Attachment: _test.png
Description: PNG image

<?xml version="1.0" encoding="utf-8" standalone="no"?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd";>
<book id="test">

  <chapter id="test-chapter">

    <title>This is just a Test</title>

      This is a test for a specific construct in the Client/Server
      Protocol chapter that breaks WebHelp builds.

        <imagedata fileref="_test.png"/>
<programlisting># This is a just test listing</programlisting>



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]