wayland/doc/publican/xsl
Pekka Paalanen 573c95cb1a doc/xsl: fix malformed <variablelist>
For all requests and events that do not have any arguments, enabling XML
validation would lead to many errors like this:

/home/pq/git/wayland/build/doc/publican/Wayland.xml:5287: element
variablelist: validity error : Element variablelist content does not
follow the DTD, expecting (blockinfo? , (title , titleabbrev?)? ,
(caution | important | note | tip | warning | literallayout |
programlisting | programlistingco | screen | screenco | screenshot |
synopsis | cmdsynopsis | funcsynopsis | classsynopsis | fieldsynopsis |
constructorsynopsis | destructorsynopsis | methodsynopsis | formalpara |
para | simpara | address | blockquote | graphic | graphicco |
mediaobject | mediaobjectco | informalequation | informalexample |
informalfigure | informaltable | anchor | bridgehead | remark |
highlights | abstract | authorblurb | epigraph | indexterm | beginpage)*
, varlistentry+), got

The reason is that a <variablelist> without any <varlistentry> inside it
is illegal.

If there are no <arg> at all, do not emit the list paragraph.

Signed-off-by: Pekka Paalanen <pq@iki.fi>
2025-12-29 11:15:11 +02:00
..
doxygen-to-publican.xsl doc: Refactor the build system for complete build dir docs 2025-11-27 17:39:11 +02:00
merge-mapcoords.xsl doc: Refactor the build system for complete build dir docs 2025-11-27 17:39:11 +02:00
protocol-interfaces-to-docbook.xsl doc: Refactor the build system for complete build dir docs 2025-11-27 17:39:11 +02:00
protocol-to-docbook.xsl doc/xsl: fix malformed <variablelist> 2025-12-29 11:15:11 +02:00