[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: DOCBOOK-APPS: Re: href.target bug with PI dbhtml-dir andchunk.first.sections = 0 ?
[ Follow-ups to docbook-apps, please. ]
/ Janning Vygen <vygen@gmx.de> was heard to say:
| template href.target produces a wrong href if you have a PI
| inside a section which is not chunked because its the
| first section in context and you have
| chunk.first.sections = 0
|
| Of course you can call it an error if you use an PI
| with dir attribute if it is not a chunk...
I believe this patch to chunk-common.xsl fixes the problem
diff -r1.27 chunk-common.xsl
126a127,131
> <!-- returns the filename of a chunk -->
> <xsl:variable name="ischunk">
> <xsl:call-template name="chunk"/>
> </xsl:variable>
>
131c136
< <xsl:if test="$fn != ''">
---
> <xsl:if test="$ischunk != 0 and $fn != ''">
Fixed in CVS.
Be seeing you,
norm
--
Norman Walsh <ndw@nwalsh.com> | Fast. Cheap. Well. Pick two.
http://www.oasis-open.org/docbook/ |
Chair, DocBook Technical Committee |
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC