Indeed, it is a bug in the stylesheet. It was this combination that showed
the problem:
<bridgehead><literal>\stepcounter{counter}</literal></bridgehead>
The bridgehead is handled in mode="title.markup", but its template looked
like this:
<xsl:template match="bridgehead" mode="title.markup">
<xsl:apply-templates mode="title.markup"/>
</xsl:template>
The template should only process titles in mode="title.markup", not the
children of titles. This template should read:
<xsl:template match="bridgehead" mode="title.markup">
<xsl:apply-templates/>
</xsl:template>
If you add this version to your customization layer, the error messages will
go away.
Thanks for the report.
Bob Stayton
Sagehill Enterprises
[email protected]
--------------------------------------------------
From: "Michael Wiedmann" <[email protected]>
Sent: Thursday, November 29, 2012 5:50 AM
To: <[email protected]>
Subject: Re: [docbook-apps] Cannot find (possible) markup error
On 29.11.2012 14:21, Stefan Hinz wrote:
Since no one has replied so far, let me make a wild guess. Could it be
you're using <xref>s that point to elements that have no title? For
example, something like this:
No, I don't use <xref>s in the document.
In the meantime I'm almost convinced that it must be an error in the
stylesheets and *not* in the XML document.
Michael
---------------------------------------------------------------------
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]