Can we add a parameter named something like 'fo.collapse.outline' to add 'starting-state="hide"' to bookmarks if non zero
<xsl:if test="$fo.outline.collapse != 0">
<xsl:attribute name="starting-state">hide</xsl:attribute>
</xsl:if>
FOP >0.93 expands all bookmarks by default and this makes it hard to see where you are in the document without collapsing all bookmarks.
The new parameter is called bookmarks.collapse. It is set to 1 by default for FOP.
This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).