#1328 indexterm in varlistentry problem


An indexterm directly below a varlistentry causes a warning like this from FOP:

Page 2: Unresolved ID reference "idp9317436" found.

To reproduce, process the attached example document

xsltproc -o test.fo http://docbook.sourceforge.net/release/xsl/current/fo/docbook.xsl test.xml

(or also with --param variablelist.as.blocks 1) and then with fop:

fop -fo test.fo -pdf test.pdf

Also attached is a proposed fix.

1 Attachments


  • Robert Stayton

    Robert Stayton - 2014-01-17

    Well, that is not a valid location for an indexterm. The content model of varlistentry allows only term and listitem, so that is why the stylesheet does not handle your file. The stylesheet does not try to compensate for invalid XML, so I don't think the patch should be applied.

  • Peter Eisentraut

    Interesting. This is coming from DocBook SGML 4.2, which is happy with that file. But if I run the converted XML file through OpenSP, is complains. The content model for varlistentry looks the same in SGML, so I'm puzzled why it allowed the indexterm elements there. But you're right, this patch is not worth applying.

  • Robert Stayton

    Robert Stayton - 2014-01-18
    • status: open --> pending-invalid

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks