Menu

#274 marker element must be first child

closed
XSL (1066)
5
2004-11-20
2002-07-24
No

The XSL-FO spec says that <marker> elements must
be the first child of their parent. The 1.52.2 XSL
stylesheets have this in sections.xsl:

<fo:block xsl:use-attribute-sets="section.title.properties"
font-size="{$fsize}pt">
<xsl:copy-of select="$title"/>
<fo:marker
marker-class-name="section.head.marker">
<xsl:copy-of select="$title"/>
</fo:marker>
</fo:block>

This should be changed to:

<fo:block xsl:use-attribute-sets="section.title.properties"
font-size="{$fsize}pt">
<fo:marker
marker-class-name="section.head.marker">
<xsl:copy-of select="$title"/>
</fo:marker>
<xsl:copy-of select="$title"/>
</fo:block>

Discussion

  • Robert Stayton

    Robert Stayton - 2002-07-24
    • assigned_to: nobody --> bobstayton
    • status: open --> pending
     
  • Robert Stayton

    Robert Stayton - 2002-07-24

    Logged In: YES
    user_id=193218

    I moveed the <marker> element up to be the first child in
    sections.xsl. That works and eliminates the FOP error
    message.

     
  • Robert Stayton

    Robert Stayton - 2002-07-24

    Logged In: YES
    user_id=193218

    I moveed the <marker> element up to be the first child in
    sections.xsl. That works and eliminates the FOP error
    message.

     
  • Robert Stayton

    Robert Stayton - 2002-07-24
    • status: pending --> open
     
  • Robert Stayton

    Robert Stayton - 2002-07-24
    • status: open --> closed
     
  • Michael(tm) Smith

    • labels: 322745 --> XSL