[rfc-i] updates to bibxml

"HANSEN, TONY L" <tony@att.com> Sun, 18 December 2016 02:46 UTC

Return-Path: <rfc-interest-bounces@rfc-editor.org>
X-Original-To: ietfarch-rfc-interest-archive@ietfa.amsl.com
Delivered-To: ietfarch-rfc-interest-archive@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0DABD1294A3 for <ietfarch-rfc-interest-archive@ietfa.amsl.com>; Sat, 17 Dec 2016 18:46:37 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.3
X-Spam-Level:
X-Spam-Status: No, score=-7.3 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-3.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id aM6_yhUnRlSF for <ietfarch-rfc-interest-archive@ietfa.amsl.com>; Sat, 17 Dec 2016 18:46:35 -0800 (PST)
Received: from rfc-editor.org (rfc-editor.org [4.31.198.49]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D601A129483 for <rfc-interest-archive-eekabaiReiB1@ietf.org>; Sat, 17 Dec 2016 18:46:35 -0800 (PST)
Received: from rfcpa.amsl.com (localhost [IPv6:::1]) by rfc-editor.org (Postfix) with ESMTP id 96074B82514; Sat, 17 Dec 2016 18:46:35 -0800 (PST)
X-Original-To: rfc-interest@rfc-editor.org
Delivered-To: rfc-interest@rfc-editor.org
Received: from localhost (localhost [127.0.0.1]) by rfc-editor.org (Postfix) with ESMTP id A5FDFB82514 for <rfc-interest@rfc-editor.org>; Sat, 17 Dec 2016 18:46:34 -0800 (PST)
X-Virus-Scanned: amavisd-new at rfc-editor.org
Received: from rfc-editor.org ([127.0.0.1]) by localhost (rfcpa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id D-OzrHm6fjFt for <rfc-interest@rfc-editor.org>; Sat, 17 Dec 2016 18:46:33 -0800 (PST)
Received: from mx0a-00191d01.pphosted.com (mx0b-00191d01.pphosted.com [67.231.157.136]) by rfc-editor.org (Postfix) with ESMTPS id 2500EB82513 for <rfc-interest@rfc-editor.org>; Sat, 17 Dec 2016 18:46:33 -0800 (PST)
Received: from pps.filterd (m0049463.ppops.net [127.0.0.1]) by m0049463.ppops.net-00191d01. (8.16.0.17/8.16.0.17) with SMTP id uBI2jnj4021934 for <rfc-interest@rfc-editor.org>; Sat, 17 Dec 2016 21:46:28 -0500
Received: from alpi155.enaf.aldc.att.com (sbcsmtp7.sbc.com [144.160.229.24]) by m0049463.ppops.net-00191d01. with ESMTP id 27d2m9t2s2-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for <rfc-interest@rfc-editor.org>; Sat, 17 Dec 2016 21:46:28 -0500
Received: from enaf.aldc.att.com (localhost [127.0.0.1]) by alpi155.enaf.aldc.att.com (8.14.5/8.14.5) with ESMTP id uBI2kSCX005248 for <rfc-interest@rfc-editor.org>; Sat, 17 Dec 2016 21:46:28 -0500
Received: from mlpi409.sfdc.sbc.com (mlpi409.sfdc.sbc.com [130.9.128.241]) by alpi155.enaf.aldc.att.com (8.14.5/8.14.5) with ESMTP id uBI2kNtQ005218 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for <rfc-interest@rfc-editor.org>; Sat, 17 Dec 2016 21:46:25 -0500
Received: from MISOUT7MSGHUBAC.ITServices.sbc.com (MISOUT7MSGHUBAC.itservices.sbc.com [130.9.129.147]) by mlpi409.sfdc.sbc.com (RSA Interceptor) for <rfc-interest@rfc-editor.org>; Sun, 18 Dec 2016 02:46:06 GMT
Received: from MISOUT7MSGUSRCG.ITServices.sbc.com ([169.254.7.158]) by MISOUT7MSGHUBAC.ITServices.sbc.com ([130.9.129.147]) with mapi id 14.03.0319.002; Sat, 17 Dec 2016 21:46:05 -0500
From: "HANSEN, TONY L" <tony@att.com>
To: "rfc-interest@rfc-editor.org" <rfc-interest@rfc-editor.org>
Thread-Topic: updates to bibxml
Thread-Index: AQHSWNjgQkyNiAwT0kyEekoy4S1khg==
Date: Sun, 18 Dec 2016 02:46:04 +0000
Message-ID: <95CA114D-C2D9-4CD4-9511-69F72EE72FFF@att.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [135.110.241.180]
MIME-Version: 1.0
X-RSA-Inspected: yes
X-RSA-Classifications: public
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2016-12-17_13:, , signatures=0
X-Proofpoint-Spam-Details: rule=outbound_policy_notspam policy=outbound_policy score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1612050000 definitions=main-1612180051
Subject: [rfc-i] updates to bibxml
X-BeenThere: rfc-interest@rfc-editor.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: "A list for discussion of the RFC series and RFC Editor functions." <rfc-interest.rfc-editor.org>
List-Unsubscribe: <https://www.rfc-editor.org/mailman/options/rfc-interest>, <mailto:rfc-interest-request@rfc-editor.org?subject=unsubscribe>
List-Archive: <http://www.rfc-editor.org/pipermail/rfc-interest/>
List-Post: <mailto:rfc-interest@rfc-editor.org>
List-Help: <mailto:rfc-interest-request@rfc-editor.org?subject=help>
List-Subscribe: <https://www.rfc-editor.org/mailman/listinfo/rfc-interest>, <mailto:rfc-interest-request@rfc-editor.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============3211148671971360097=="
Errors-To: rfc-interest-bounces@rfc-editor.org
Sender: rfc-interest <rfc-interest-bounces@rfc-editor.org>

I made two changes to the bibxml library, a change to bibxml7/bibxml-doi and a new bibxml8/bibxml-iana.

The bibxml7 (aka bibxml-doi) library was done using a program that does a real-time lookup of the DOI library. It now takes an argument of anchor=TEXT. When you add this, the <reference> anchor element will use the text you provide. (Only A-Za-z0-9_ is allowed in the anchor.)

https://xml2rfc.tools.ietf.org/public/rfc/bibxml-doi/reference.DOI.10.1145/1355734.1355746.xml?anchor=TEXT

generates

<reference anchor="TEXT"> …

I’ve also just added bibxml8 (aka bibxml-iana) that generates a <reference> to an IANA registry.

https://xml2rfc.tools.ietf.org/public/rfc/bibxml-iana/reference.IANA.service-names-port-numbers.xml

generates

<reference anchor="SERVICE-NAMES-PORT-NUMBERS" target="http://www.iana.org/assignments/service-names-port-numbers"><front><title>Service Name and Transport Protocol Port Number Registry</title><author surname="Internet Assigned Numbers Authority (IANA)"><organization/></author></front></reference>

If you prefer a different anchor value, you can also use the anchor=TEXT argument, generating

<reference anchor="TEXT" …

Hope you like these additions.

Comments welcome.

                Tony Hansen
_______________________________________________
rfc-interest mailing list
rfc-interest@rfc-editor.org
https://www.rfc-editor.org/mailman/listinfo/rfc-interest