← Prev in month ← Prev in thread
Next in thread → Next in month →

Experimental changes to chunking

From
Norman Walsh <>
Date
2003-11-25T22:43:59+00:00
ID
Thread
Experimental changes to chunking
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

To fix a bug reported by ca9mbu:

  http://www.linuxfromscratch.org/~matthew/docbook.html

(and perhaps reported by others, I recall that there were some
cross-chunk linking problems on my plate once before),
I've made an experimental change in chunk-common.xsl. In
chunk-filename, you'll find this test:

  <xsl:if test="$ischunk != 0 and $fn != ''">
    <xsl:call-template name="dbhtml-dir"/>
  </xsl:if>

I've changed it to:

  <!-- 2003-11-25 by ndw:
       The following test used to read test="$ischunk != 0 and $fn != ''"
       I've removed the ischunk part of the test so that href.to.uri and
       href.from.uri will be fully qualified even if the source or target
       isn't a chunk. I *think* that if $fn != '' then it's appropriate
       to put the directory on the front, even if the element isn't a
       chunk. I could be wrong. -->

  <xsl:if test="$fn != ''">
    <xsl:call-template name="dbhtml-dir"/>
  </xsl:if>

I'd appreciate feedback on this change. If you use chunking, please
try out this test and tell me if (1) anything breaks or (2) anything
works that used to break.

                                        Be seeing you,
                                          norm

- -- 
Norman Walsh <>      | Everything should be made as
http://www.oasis-open.org/docbook/ | simple as possible, but no simpler.
Chair, DocBook Technical Committee |
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>

iD8DBQE/w9xgOyltUcwYWjsRAvjKAJ440VQEfDGrTEgBKwebCSfNBqjWkgCgqVtP
CjQU4U6inSefWJ7zHRxBA5Y=
=0L7j
-----END PGP SIGNATURE-----
← Prev in month ← Prev in thread
Next in thread → Next in month →