Hi,
This should work. Can you provide more details on your olinkdb.xml file and
how the individual target.db files are generated for each book?
Also, the HTML output of Kavi Member Help that you included did not include
the chapter content with the olink. I see the Table of Contents chunk
(index.html probably), but I think you intended to show the chapter chunk.
I searched for "Click here to see ..." and it appeared only in the source
file you provided.
Also, can you indicate what the old and new versions of the stylesheet are,
and whether you are using the namespaced stylesheets or not? Thanks.
Bob Stayton
Sagehill Enterprises
[EMAIL PROTECTED]
----- Original Message -----
From: "Teya Burnham" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Wednesday, September 24, 2008 5:57 PM
Subject: [docbook-apps] Olinks failing -- CaseA NOT matched, No case matched
for lang 'en'
The olinks in our help used to all work (in February 2008 for example).
Now they all fail.
Earlier this year we upgraded to a newer version of docbook, so perhaps
some change in the xsl is causing this to happen.
Here is the error displayed when running make with debugging enabled:
Olink debug: root element of target.database
'/export/home/tburnham/tbkorg30/dev/dotorg/etc/olinkdb.xml' is
'targetset'.
Olink debug: cases for targetdoc='DotOrgHelp' and
targetptr='gloss_test_def' in language 'en'.
Olink debug: CaseA NOT matched
Olink debug: No case matched for lang 'en'.
Olink debug: cases for targetdoc='DotOrgHelp' and
targetptr='gloss_test_def' in language ''.
Olink debug: CaseA NOT matched
Olink debug: No case matched for lang ''.
Here are the test files and html output.
--------------The book that contains the glossary----------------
<?xml version='1.0' encoding="UTF-8"?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//en"
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
<book id="DotOrgHelp">
<bookinfo>
<title>Getting Started with Kavi Software</title>
<subtitle>Concepts and Reference Material</subtitle>
<corpauthor>Kavi Corporation Product Documentation</corpauthor>
<copyright>
<year>2008</year>
<holder>Kavi Corporation</holder>
</copyright>
</bookinfo>
<!-- Chapters -->
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="glossary.xml">
<xi:fallback>
<para><emphasis>FIX glossary.xml</emphasis></para>
</xi:fallback>
</xi:include>
<!-- /Chapters -->
</book>
--------------The glossary (contains olink targets)----------------
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE glossary PUBLIC "-//OASIS//DTD DocBook XML V4.2//en"
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
<glossary id="kavi_glossary"><title>Glossary</title>
<para>The Kavi Glossary includes technical
terms and terms that have specific meanings in Kavi applications.</para>
<glossdiv>
<title>A</title>
<glossentry id="gloss_test_def">
<glossterm>Gloss Test Def</glossterm>
<glossdef>
<para>This is it!</para>
</glossdef>
</glossentry>
</glossdiv>
</glossary>
--------------A book with olinks to the glossary
definitions----------------
<?xml version='1.0' encoding="UTF-8"?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//en"
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
<book id="kmembers_help">
<title>Kavi® Members Help</title>
<part label="VII" id="part_admin">
<title>Kavi Members Admin Tools</title>
<partintro>
<para>Tools that Organization Admins use to manage users,
companies, memberships and email notifications.</para>
</partintro>
<chapter id="test">
<title>Test Chapter</title>
<sect1 id="test_direct">
<title>Test Direct Olink to Gloss</title>
<para>Click here to see the gloss def: <olink
targetdoc="DotOrgHelp" targetptr="gloss_test_def">
test direct link</olink>.</para>
</sect1>
</chapter>
</part>
</book>
--------------HTML output: Glossary (target)----------------
<h1 class="appname"></h1><div class="navheader">
<table width="100%" summary="Navigation header">
<tr><th colspan="3" align="center">Glossary</th></tr>
<tr>
<td width="20%" align="left">
<a accesskey="p" href="index.html"><img src="/kicons/dotorg/prev.png"
alt="Prev"></a> </td>
<th width="60%" align="center"> </th>
<td width="20%" align="right"> </td>
</tr>
</table>
<hr>
</div><div class="glossary">
<div class="titlepage"><div><div><h2 class="title">
<a name="kavi_glossary"></a>Glossary</h2></div></div></div>
<p>The Kavi Glossary includes technical
terms and terms that have specific meanings in Kavi applications.</p>
<div class="glossdiv">
<h3 class="title">A</h3>
<dl>
<dt>
<a name="gloss_test_def"></a>Gloss Test Def</dt>
<dd><p>This is it!</p></dd>
</dl>
</div>
</div><div class="navfooter">
<hr>
<table width="100%" summary="Navigation footer">
<tr>
<td width="40%" align="left">
<a accesskey="p" href="index.html"><img src="/kicons/dotorg/prev.png"
alt="Prev"></a> </td>
<td width="20%" align="center"> </td>
<td width="40%" align="right"> </td>
</tr>
<tr>
<td width="40%" align="left" valign="top">Getting Started with Kavi
Software </td>
<td width="20%" align="center"><a accesskey="h" href="index.html"><img
src="/kicons/dotorg/home.png" alt="Home"></a></td>
<td width="40%" align="right" valign="top"> </td>
</tr>
</table>
</div>
--------------HTML output: Kavi Members Help (rendered
olinks)----------------
<div class="navheader">
<table width="100%" summary="Navigation header">
<tr><th colspan="3" align="center">KaviĀ® Members Help</th></tr>
<tr>
<td width="20%" align="left"> </td>
<th width="60%" align="center"> </th>
<td width="20%" align="right"> <a accesskey="n"
href="part_admin.html"><img src="/kicons/dotorg/next.png" alt="Next"></a>
</td>
</tr>
</table>
<hr>
</div><div class="book" lang="en">
<div class="titlepage">
<div><div><h1 class="title">
<a name="kmembers_help"></a>KaviĀ® Members Help</h1></div></div>
<hr>
</div>
<div class="toc">
<p><b>Table of Contents</b></p>
<dl>
<dt><span class="part"><a href="part_admin.html">VII. Kavi Members Admin
Tools</a></span></dt>
<dd><dl><dt><span class="chapter"><a href="test.html">1. Test
Chapter</a></span></dt></dl></dd>
</dl>
</div>
</div><div class="navfooter">
<hr>
<table width="100%" summary="Navigation footer">
<tr>
<td width="40%" align="left"> </td>
<td width="20%" align="center"> </td>
<td width="40%" align="right"> <a accesskey="n"
href="part_admin.html"><img src="/kicons/dotorg/next.png" alt="Next"></a>
</td>
</tr>
<tr>
<td width="40%" align="left" valign="top"> </td>
<td width="20%" align="center"> </td>
<td width="40%" align="right" valign="top"> Part VII. Kavi Members Admin
Tools</td>
</tr>
</table>
</div>
------------------------------------------------
Thanks in advance!
--
Teya Burnham
Product Documentation Specialist
Kavi Corporation
DDN 503.813.9378
[EMAIL PROTECTED]
Advance the Standard!
---------------------------------------------------------------------
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]