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] olinks to chapters in same book not working


Hi Robert,
With your test file I confirmed that this is a bug in the 1.69.1 fo
stylesheet.  Can you please file a bug report on the DocBook SourceForge
project on this problem?  This pages tells you how:

http://sourceforge.net/docman/display_doc.php?docid=27830&group_id=21935

Thanks.

Bob Stayton
Sagehill Enterprises
DocBook Consulting
bobs@sagehill.net


----- Original Message ----- 
From: "Robert Hall" <rhall@vocera.com>
To: "Bob Stayton" <bobs@sagehill.net>; <docbook-apps@lists.oasis-open.org>
Sent: Monday, September 19, 2005 11:12 AM
Subject: RE: [docbook-apps] olinks to chapters in same book not working


Bob,
Thanks so much for your help!
Even when using the stock fo\docbook.xsl stylesheet,
I'm getting the unclosed tags in fo output when
insert.xref.page.number="yes".
Here is my test case:

aaa.xml
------------
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"

"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd"; >

<chapter id="ch_aaa">
  <para>
    See <olink targetdoc="atest_book" targetptr="SysReq" /> for
    system requirements and other details.
  </para>
</chapter>

bbb.xml
-------------
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"

"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd"; >

<chapter id="ch_bbb">
  <section id="SysReq">
    <title>System Requirements</title>
    <para>This is what the system requires.</para>
  </section>
</chapter>

atest_book.xml
-----------------
<?xml version="1.0" ?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"

"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd"; >

<book id="atest_book" lang="en">
  <title>A Test</title>

  <xi:include href="aaa.xml"
xmlns:xi="http://www.w3.org/2003/XInclude"; />
  <xi:include href="bbb.xml"
xmlns:xi="http://www.w3.org/2003/XInclude"; />
</book>

olinkdb-pdf.xml
------------------
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE targetset
       SYSTEM
"file:///c:/doc/xml/Main/tools/xsl/common/targetdatabase.dtd" [
       <!ENTITY atest_targets SYSTEM "file:///c:/atest/target.db">
]>
<targetset>
  <sitemap>
    <dir name="root">
      <dir name="atest">

        <document targetdoc="atest_book" >
          &atest_targets;
        </document>
      </dir>
    </dir>
  </sitemap>
</targetset>

Command line:
----------------------
C:\atest>xsltproc --xinclude --output atest.fo \
         --stringparam collect.xref.targets "yes"  \
         --stringparam target.database.document "olinkdb-pdf.xml" \
         --stringparam current.docid "atest_book" \
         --stringparam insert.xref.page.number "yes" \
         c:\doc\xml\Main\tools\xsl\fo\docbook.xsl \
         atest_book.xml


Using xsltproc on Windows 2000, files from libxml2-2.6.20.win32.zip and
libxslt-2.1.14+.win32.zip.

Using libxml 20620CVS2538, libxslt 10114CVS1012 and libexslt 812CVS1012
xsltproc was compiled against libxml 20619, libxslt 10114 and libexslt
812
libxslt 10114 was compiled against libxml 20619
libexslt 812 was compiled against libxml 20619

Thanks again,
-Robert

-----Original Message-----
From: Bob Stayton [mailto:bobs@sagehill.net]
Sent: Friday, September 16, 2005 8:54 AM
To: Robert Hall; docbook-apps@lists.oasis-open.org
Subject: Re: [docbook-apps] olinks to chapters in same book not working

Hi Robert,
I'm still not able to duplicate the problem of unclosed tags, regardless
of
the setting of the insert.xref.page.number parameter.  Is this still
with
your customization, or does it happen with the stock stylesheets?

...

----- Original Message ----- 
From: "Robert Hall" <rhall@vocera.com>
To: <docbook-apps@lists.oasis-open.org>
Sent: Thursday, September 15, 2005 3:51 PM
Subject: RE: [docbook-apps] olinks to chapters in same book not working


Getting closer to the root of the problem:
xsltproc only generates the invalid FO output when
the insert.xref.page.number parameter is "yes".
When it's "no" or "maybe" the fo:basic-link tags are closed correctly.





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