Skip to content

Commit

Permalink
fix error in x:source handling of seriesInfo
Browse files Browse the repository at this point in the history
  • Loading branch information
reschke committed Aug 17, 2023
1 parent fc6774c commit 0ee1577
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
12 changes: 6 additions & 6 deletions rfc2629.xslt
Original file line number Diff line number Diff line change
Expand Up @@ -4574,8 +4574,8 @@
<!-- fall back to x:source when needed -->
<xsl:if test="not($si) and x:source/@href">
<xsl:variable name="derivedsi" myns:namespaceless-elements="xml2rfc">
<xsl:variable name="r" select="document(x:source/@href)/bcp"/>
<xsl:if test="$r/@seriesNo and $r/@category='std'">
<xsl:variable name="r" select="document(x:source/@href)/rfc"/>
<xsl:if test="$r/@seriesNo and $r/@category='bcp'">
<seriesInfo name="BCP" value="{$r/@seriesNo}"/>
</xsl:if>
<xsl:if test="$r/@seriesNo and $r/@category='std'">
Expand Down Expand Up @@ -12191,11 +12191,11 @@ dd, li, p {
<xsl:variable name="gen">
<xsl:text>http://greenbytes.de/tech/webdav/rfcxml.xslt, </xsl:text>
<!-- when RCS keyword substitution in place, add version info -->
<xsl:if test="contains('$Revision: 1.1528 $',':')">
<xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.1528 $', 'Revision: '),'$','')),', ')" />
<xsl:if test="contains('$Revision: 1.1529 $',':')">
<xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.1529 $', 'Revision: '),'$','')),', ')" />
</xsl:if>
<xsl:if test="contains('$Date: 2023/08/17 08:26:04 $',':')">
<xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2023/08/17 08:26:04 $', 'Date: '),'$','')),', ')" />
<xsl:if test="contains('$Date: 2023/08/17 12:20:00 $',':')">
<xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2023/08/17 12:20:00 $', 'Date: '),'$','')),', ')" />
</xsl:if>
<xsl:variable name="product" select="normalize-space(concat(system-property('xsl:product-name'),' ',system-property('xsl:product-version')))"/>
<xsl:if test="$product!=''">
Expand Down
12 changes: 6 additions & 6 deletions rfcxml.xslt
Original file line number Diff line number Diff line change
Expand Up @@ -4574,8 +4574,8 @@
<!-- fall back to x:source when needed -->
<xsl:if test="not($si) and x:source/@href">
<xsl:variable name="derivedsi" myns:namespaceless-elements="xml2rfc">
<xsl:variable name="r" select="document(x:source/@href)/bcp"/>
<xsl:if test="$r/@seriesNo and $r/@category='std'">
<xsl:variable name="r" select="document(x:source/@href)/rfc"/>
<xsl:if test="$r/@seriesNo and $r/@category='bcp'">
<seriesInfo name="BCP" value="{$r/@seriesNo}"/>
</xsl:if>
<xsl:if test="$r/@seriesNo and $r/@category='std'">
Expand Down Expand Up @@ -12191,11 +12191,11 @@ dd, li, p {
<xsl:variable name="gen">
<xsl:text>http://greenbytes.de/tech/webdav/rfcxml.xslt, </xsl:text>
<!-- when RCS keyword substitution in place, add version info -->
<xsl:if test="contains('$Revision: 1.1460 $',':')">
<xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.1460 $', 'Revision: '),'$','')),', ')" />
<xsl:if test="contains('$Revision: 1.1461 $',':')">
<xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.1461 $', 'Revision: '),'$','')),', ')" />
</xsl:if>
<xsl:if test="contains('$Date: 2023/06/09 13:20:24 $',':')">
<xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2023/06/09 13:20:24 $', 'Date: '),'$','')),', ')" />
<xsl:if test="contains('$Date: 2023/08/17 12:20:00 $',':')">
<xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2023/08/17 12:20:00 $', 'Date: '),'$','')),', ')" />
</xsl:if>
<xsl:variable name="product" select="normalize-space(concat(system-property('xsl:product-name'),' ',system-property('xsl:product-version')))"/>
<xsl:if test="$product!=''">
Expand Down

0 comments on commit 0ee1577

Please sign in to comment.