Skip to content

Commit d65c300

Browse files
committed
update fallback URI for RFC references to use bib.ietf.org instead of www.rfc-editor.org
1 parent 4102313 commit d65c300

File tree

3 files changed

+13
-13
lines changed

3 files changed

+13
-13
lines changed

rfc2629.xslt

+6-6
Original file line numberDiff line numberDiff line change
@@ -1035,8 +1035,8 @@
10351035
<xsl:call-template name="parse-pis">
10361036
<xsl:with-param name="nodes" select="/processing-instruction('rfc-ext')"/>
10371037
<xsl:with-param name="attr" select="'rfc-reference-base-uri'"/>
1038-
<!-- previously 'https://xml2rfc.tools.ietf.org/public/rfc/bibxml/' -->
1039-
<xsl:with-param name="default">https://www.rfc-editor.org/refs/bibxml/</xsl:with-param>
1038+
<!-- previously 'https://xml2rfc.tools.ietf.org/public/rfc/bibxml/', then 'https://www.rfc-editor.org/refs/bibxml/' -->
1039+
<xsl:with-param name="default">https://bib.ietf.org/public/rfc/bibxml/</xsl:with-param>
10401040
</xsl:call-template>
10411041
</xsl:param>
10421042

@@ -12191,11 +12191,11 @@ dd, li, p {
1219112191
<xsl:variable name="gen">
1219212192
<xsl:text>http://greenbytes.de/tech/webdav/rfcxml.xslt, </xsl:text>
1219312193
<!-- when RCS keyword substitution in place, add version info -->
12194-
<xsl:if test="contains('$Revision: 1.1518 $',':')">
12195-
<xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.1518 $', 'Revision: '),'$','')),', ')" />
12194+
<xsl:if test="contains('$Revision: 1.1519 $',':')">
12195+
<xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.1519 $', 'Revision: '),'$','')),', ')" />
1219612196
</xsl:if>
12197-
<xsl:if test="contains('$Date: 2023/06/06 09:20:49 $',':')">
12198-
<xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2023/06/06 09:20:49 $', 'Date: '),'$','')),', ')" />
12197+
<xsl:if test="contains('$Date: 2023/06/09 13:20:24 $',':')">
12198+
<xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2023/06/09 13:20:24 $', 'Date: '),'$','')),', ')" />
1219912199
</xsl:if>
1220012200
<xsl:variable name="product" select="normalize-space(concat(system-property('xsl:product-name'),' ',system-property('xsl:product-version')))"/>
1220112201
<xsl:if test="$product!=''">

rfc2629xslt.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -772,7 +772,7 @@ xsltproc --param xml2rfc-toc '"yes"' \
772772
<dt>XSLT parameter name</dt>
773773
<dd>xml2rfc-ext-rfc-reference-base-uri</dd>
774774
<dt>default</dt>
775-
<dd>"https://www.rfc-editor.org/refs/bibxml/"</dd>
775+
<dd>"https://bib.ietf.org/public/rfc/bibxml/"</dd>
776776
</dl>
777777
<t>
778778
Base URI for RFC referennces included using the "include" processing instruction.

rfcxml.xslt

+6-6
Original file line numberDiff line numberDiff line change
@@ -1035,8 +1035,8 @@
10351035
<xsl:call-template name="parse-pis">
10361036
<xsl:with-param name="nodes" select="/processing-instruction('rfc-ext')"/>
10371037
<xsl:with-param name="attr" select="'rfc-reference-base-uri'"/>
1038-
<!-- previously 'https://xml2rfc.tools.ietf.org/public/rfc/bibxml/' -->
1039-
<xsl:with-param name="default">https://www.rfc-editor.org/refs/bibxml/</xsl:with-param>
1038+
<!-- previously 'https://xml2rfc.tools.ietf.org/public/rfc/bibxml/', then 'https://www.rfc-editor.org/refs/bibxml/' -->
1039+
<xsl:with-param name="default">https://bib.ietf.org/public/rfc/bibxml/</xsl:with-param>
10401040
</xsl:call-template>
10411041
</xsl:param>
10421042

@@ -12191,11 +12191,11 @@ dd, li, p {
1219112191
<xsl:variable name="gen">
1219212192
<xsl:text>http://greenbytes.de/tech/webdav/rfcxml.xslt, </xsl:text>
1219312193
<!-- when RCS keyword substitution in place, add version info -->
12194-
<xsl:if test="contains('$Revision: 1.1459 $',':')">
12195-
<xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.1459 $', 'Revision: '),'$','')),', ')" />
12194+
<xsl:if test="contains('$Revision: 1.1460 $',':')">
12195+
<xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.1460 $', 'Revision: '),'$','')),', ')" />
1219612196
</xsl:if>
12197-
<xsl:if test="contains('$Date: 2023/05/02 18:32:07 $',':')">
12198-
<xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2023/05/02 18:32:07 $', 'Date: '),'$','')),', ')" />
12197+
<xsl:if test="contains('$Date: 2023/06/09 13:20:24 $',':')">
12198+
<xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2023/06/09 13:20:24 $', 'Date: '),'$','')),', ')" />
1219912199
</xsl:if>
1220012200
<xsl:variable name="product" select="normalize-space(concat(system-property('xsl:product-name'),' ',system-property('xsl:product-version')))"/>
1220112201
<xsl:if test="$product!=''">

0 commit comments

Comments
 (0)