[rfc-i] Fwd: use of xref/@format!="default"

Julian Reschke julian.reschke at gmx.de
Fri Mar 21 01:04:11 PDT 2014


(re-sent without the raw data because it was in the moderation queue due 
to attachment size)

-------- Original Message --------
Subject: use of xref/@format!="default"
Date: Fri, 21 Mar 2014 08:59:25 +0100
From: Julian Reschke <julian.reschke at gmx.de>
To: rfc-interest at rfc-editor.org <rfc-interest at rfc-editor.org>

Hi,

in his recent edits, Paul is deprecating xref/@format (see
<http://trac.tools.ietf.org/tools/xml2rfc/trac/changeset/1277#file3>):

"...because it doesn't seem to be in any significant use."

I found that surprising as it has important uses, and I was pretty sure
it is indeed used a lot. So I ran statistics on AUTH48 RFC XML snapshots
in the range 6000-6999 (attached is the raw data, plus the XSLT I used).

The total number of files that actually are wellformed XML *and* have
<xrefs> in them is 562.

The number of occurrences for the different values of @format are:

        4 format=none
       50 format=title
      272 format=
      964 format=counter
    26947 format=default

@format values other than "" and "default" occurred in 117 files (~20%).

My conclusion is that yes, @format is used in practice, and I see no
reason to deprecate it.

Best regards, Julian




-------------- next part --------------
A non-text attachment was scrubbed...
Name: xrefformat.xslt
Type: application/xslt+xml
Size: 780 bytes
Desc: not available
URL: <http://www.rfc-editor.org/pipermail/rfc-interest/attachments/20140321/53d0a157/attachment.bin>


More information about the rfc-interest mailing list