Title: RE: [docbook-apps] Trouble with <set> containing <set> in
I tried revision 7632 of 2007-12-31 at 1041 PST on the files sets.xml and sets.xsl attached.
No difference in pdf output, title page for outer set only, see attached sets.pdf.  However bookmaks are set up in the pdf file, but point nowhere.
Is there something wrong in my test XML and/or XSL?
Toolchain: MacOSX 10.3.9;Oxygen 8.2;Saxon6.5.5;XEP4.10;

The full processing record was:

(document [system-id file:/Library/WebServer/Documents/_XML/_test/sets.xml_xslt]
  (validate [validation OK])
  (compile
    (meta-info )
    (masters
      (sequence-master [master-name blank])
      (sequence-master [master-name titlepage-first])
      (sequence-master [master-name titlepage-odd])
      (sequence-master [master-name titlepage-even])
      (sequence-master [master-name lot-first])
      (sequence-master [master-name lot-odd])
      (sequence-master [master-name lot-even])
      (sequence-master [master-name front-first])
      (sequence-master [master-name front-odd])
      (sequence-master [master-name front-even])
      (sequence-master [master-name body-first])
      (sequence-master [master-name body-odd])
      (sequence-master [master-name body-even])
      (sequence-master [master-name back-first])
      (sequence-master [master-name back-odd])
      (sequence-master [master-name back-even])
      (sequence-master [master-name index-first])
      (sequence-master [master-name index-odd])
      (sequence-master [master-name index-even])
      (sequence-master [master-name titlepage])
      (sequence-master [master-name lot])
      (sequence-master [master-name front])
      (sequence-master [master-name body])
      (sequence-master [master-name back])
      (sequence-master [master-name index]))
    (outline )
    (sequence [master-reference titlepage]
      (static-content [flow-name xsl-region-before-first])
      (static-content [flow-name xsl-region-before-odd])
      (static-content [flow-name xsl-region-before-even])
      (static-content [flow-name xsl-region-before-blank])
      (static-content [flow-name xsl-footnote-separator])
      (static-content [flow-name blank-body])
      (static-content [flow-name xsl-region-after-first])
      (static-content [flow-name xsl-region-after-odd])
      (static-content [flow-name xsl-region-after-even])
      (static-content [flow-name xsl-region-after-blank])
      (flow [flow-name xsl-region-body]))
    (sequence [master-reference lot]
      (static-content [flow-name xsl-region-before-first])
      (static-content [flow-name xsl-region-before-odd])
      (static-content [flow-name xsl-region-before-even])
      (static-content [flow-name xsl-region-before-blank])
      (static-content [flow-name xsl-footnote-separator])
      (static-content [flow-name blank-body])
      (static-content [flow-name xsl-region-after-first])
      (static-content [flow-name xsl-region-after-odd])
      (static-content [flow-name xsl-region-after-even])
      (static-content [flow-name xsl-region-after-blank])
      (flow [flow-name xsl-region-body])))
  (format
    (sequence [master-reference titlepage]
      (flow [1])
      (static-content [1]|xsl-region-after-first||xsl-region-before-first|[2]|blank-body||xsl-region-after-blank||xsl-region-before-blank|))
    (sequence [master-reference lot]
      (flow [3])
      (static-content ))
    [warning] unresolved internal destination: 'toc...SET'
    [warning] unresolved internal destination: 'OT'
    [warning] unresolved internal destination: 'd0e23'
    [warning] unresolved internal destination: 'd0e40'
    [warning] unresolved internal destination: 'd0e45'
    [warning] unresolved internal destination: 'd0e63'
    [warning] unresolved internal destination: 'd0e86'
    [warning] unresolved internal destination: 'd0e92'
    [warning] unresolved internal destination: 'd0e110'
    [warning] unresolved internal destination: 'NT'
    [warning] unresolved internal destination: 'd0e133'
    [warning] unresolved internal destination: 'd0e138'
    [warning] unresolved internal destination: 'd0e156'
    [warning] unresolved internal destination: 'd0e179'
    [warning] unresolved internal destination: 'd0e184'
    [warning] unresolved internal destination: 'd0e202'
  )
  (generate [output-format pdf][1][2]))
Process ended with exit code: 0


> -----Original Message-----
> From: Ron Catterall
>
> Just tried again with 4.5 - same result.  Nested sets are not
> supported in 4.5 or 5.0. 


For the record, I just want to point out that nested sets are allowed in
both DocBook 4.5 and 5.0. The problem is that the stylesheets (which use a
different version numbering scheme) haven't kept up with this (until now).

I have checked in a fix to the repository. I have tested the fix using the
document supplied with bug #1853172, and the result looks OK.

/MJ


-- 
Ron Catterall, Phd, DSc                         email: [EMAIL PROTECTED]
Prolongacion de Hidalgo 140                             http://catterall.net/
San Felipe del Agua                                        tel: +52 951 520 1821
Oaxaca      68020  Mexico                          fax: +1 530 348 8309


Attachment: sets.xml
Description: Binary data

Attachment: sets.xsl
Description: Binary data

Attachment: sets.pdf
Description: Binary data

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to