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] ???TITLE???


That's a bug that was fixed in version 1.78.0. If you don't want to upgrade, you can add this template to your customization layer:

<xsl:template match="bridgehead" mode="title.markup">
 <xsl:apply-templates/>
</xsl:template>

In 1.77.1 and earlier, that template used mode="title.markup" for the children when it should not.

Bob Stayton
Sagehill Enterprises
bobs@sagehill.net

--------------------------------------------------
From: "Stefan Hinz" <stefan.hinz@oracle.com>
Sent: Tuesday, January 15, 2013 9:29 AM
To: "DocBook Apps" <docbook-apps@lists.oasis-open.org>
Subject: [docbook-apps] ???TITLE???

No, this is not a spam email. :-) While running some XHTML build tests today, I noticed a couple of warnings like these:

Request for title of element with no title: literal
Request for title of element with no title: link

After debugging, to begin with the conclusion, we found these are annoying but harmless. But I'd like to get rid of them, anyway, if possible. :-)

The ???TITLE??? things in the output come from constructs that attempt to link to a <bridgehead>. For example, in one of our files:

<para>
The join type. For descriptions of the different types, see
<link linkend="explain-join-types"><literal>EXPLAIN</literal>
Join Types</link>.
</para>

That links to:

<bridgehead id="explain-join-types">
<literal>EXPLAIN</literal> Join Types
</bridgehead>

The link becomes this in the output HTML:

<p>
The join type. For descriptions of the different types, see
<a class="link" href="#explain-join-types" title="8.2.2. ???TITLE??? Join Types"><code class="literal">EXPLAIN</code>
Join Types</a>.
</p>

So the ???TITLE??? becomes part of the title that is displayed if you hover the mouse over the link, but is not otherwise visible. (That's why it's harmless.)

Each of the ???TITLE??? instances corresponds to the presence of a <literal>something</literal> in the link content. No idea why the stylesheets don't just use the text of the literal in the title attribute value.

Does anyone have an idea what might be going wrong?

Cheers,

Stefan

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




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