#545 1.65.1 of the stylesheets renders funcprototypes wrongly

output: HTML
XSL (1066)

The example file is:



<parameter>char* format</parameter>
<parameter>long int schub</parameter>

<title>Eine sehr lange Überschrift</title>
<para>Hier kommt ein ganz normaler Satz.</para>

Processing this results in:


void system_starte_rakete(char* formatlong int schub);

char* formatchar* formatlong int schub long int schub ;

I think this is wrong. Isn't it?


  • Robert Stayton

    Robert Stayton - 2005-03-29
    • labels: 340797 -->
  • Robert Stayton

    Robert Stayton - 2005-03-29

    Logged In: YES

    This isn't a website problem, so I reclassified it.

  • Michael(tm) Smith

    • milestone: --> 447636
    • labels: --> XSL
  • Michael(tm) Smith

    • assigned_to: nobody --> xmldoc
  • Michael(tm) Smith

    • milestone: 447636 --> output: HTML
  • Michael(tm) Smith

    Logged In: YES


    The parameters in the function prototype in your
    example file are not marked up correctly. Paramdef is
    actually intended to have only one parameter per
    paramdef. So you should mark it up instead like this:

    <paramdef>char* <parameter>format</parameter></paramdef>
    <paramdef>long int <parameter>schub</parameter></paramdef>

    See the examples in TDG:


    If you use markup like the above, I think you will get
    the output you expect.

    The only case where you wouldn't would be if you did
    actually need to have two parameters in one paramdef.
    That is valid DocBook, but I can't think of a
    legitimate case where anybody would want to do it.

    If you do actually need to have support for having two
    parameters in one paramdef, please open up a new bug
    report with an example file showing a use case.


  • Michael(tm) Smith

    • status: open --> closed-invalid

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

Sign up for the SourceForge newsletter:

No, thanks