Re: [Tools-discuss] xml version of 1id-abstracts.txt/1id-index.txt and all_id.txt

Fred Baker <fred@cisco.com> Thu, 24 April 2008 17:33 UTC

Return-Path: <tools-discuss-bounces@ietf.org>
X-Original-To: tools-discuss-archive@megatron.ietf.org
Delivered-To: ietfarch-tools-discuss-archive@core3.amsl.com
Received: from core3.amsl.com (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 880513A6B3E; Thu, 24 Apr 2008 10:33:15 -0700 (PDT)
X-Original-To: tools-discuss@core3.amsl.com
Delivered-To: tools-discuss@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 167E03A6B3E for <tools-discuss@core3.amsl.com>; Thu, 24 Apr 2008 10:33:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.849
X-Spam-Level:
X-Spam-Status: No, score=-6.849 tagged_above=-999 required=5 tests=[AWL=-0.250, BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GUa5F0qGcvOT for <tools-discuss@core3.amsl.com>; Thu, 24 Apr 2008 10:33:14 -0700 (PDT)
Received: from sj-iport-6.cisco.com (sj-iport-6.cisco.com [171.71.176.117]) by core3.amsl.com (Postfix) with ESMTP id 0D9FB3A6971 for <tools-discuss@ietf.org>; Thu, 24 Apr 2008 10:33:14 -0700 (PDT)
Received: from sj-dkim-1.cisco.com ([171.71.179.21]) by sj-iport-6.cisco.com with ESMTP; 24 Apr 2008 10:33:19 -0700
Received: from sj-core-2.cisco.com (sj-core-2.cisco.com [171.71.177.254]) by sj-dkim-1.cisco.com (8.12.11/8.12.11) with ESMTP id m3OHXJVh015497; Thu, 24 Apr 2008 10:33:19 -0700
Received: from xbh-sjc-221.amer.cisco.com (xbh-sjc-221.cisco.com [128.107.191.63]) by sj-core-2.cisco.com (8.13.8/8.13.8) with ESMTP id m3OHXJNl014824; Thu, 24 Apr 2008 17:33:19 GMT
Received: from xfe-sjc-211.amer.cisco.com ([171.70.151.174]) by xbh-sjc-221.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.1830); Thu, 24 Apr 2008 10:33:19 -0700
Received: from [10.32.244.219] ([10.32.244.219]) by xfe-sjc-211.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.1830); Thu, 24 Apr 2008 10:33:18 -0700
In-Reply-To: <480FBB16.9020603@att.com>
References: <480FBB16.9020603@att.com>
Mime-Version: 1.0 (Apple Message framework v753)
X-Gpgmail-State: !signed
Message-Id: <ED1EB76D-4A1A-4AF5-B4C5-37EC089CCCF4@cisco.com>
From: Fred Baker <fred@cisco.com>
Date: Thu, 24 Apr 2008 10:33:20 -0700
To: Tony Hansen <tony@att.com>
X-Mailer: Apple Mail (2.753)
X-OriginalArrivalTime: 24 Apr 2008 17:33:18.0846 (UTC) FILETIME=[4900D9E0:01C8A631]
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; l=5473; t=1209058399; x=1209922399; c=relaxed/simple; s=sjdkim1004; h=Content-Type:From:Subject:Content-Transfer-Encoding:MIME-Version; d=cisco.com; i=fred@cisco.com; z=From:=20Fred=20Baker=20<fred@cisco.com> |Subject:=20Re=3A=20[Tools-discuss]=20xml=20version=20of=20 1id-abstracts.txt/1id-index.txt=20and=20all_id.txt |Sender:=20; bh=F8Bz4EonQG8Iom50C4Fx9fOrlxcH7sVTwRBfEfbaEvE=; b=JIiBjndYMdYq3K7S6bl8BRpfH8+R7J+0vZCJzFEiGdq6QHh1/8PDEcMWDj C3NQhUe1XDKrZpKw6DXO+7eNouuwxDZxljsp735zImzD4Lrps4Q7vR4GY5S7 UXPq5z1chRedBUz6EgrKHOmfeulkrOwIBN33f7qW/mg8/t1Bq+bjY=;
Authentication-Results: sj-dkim-1; header.From=fred@cisco.com; dkim=pass ( sig from cisco.com/sjdkim1004 verified; );
Cc: Bill Fenner <fenner@gmail.com>, Henrik Levkowetz <henrik@levkowetz.com>, tools-discuss@ietf.org, Glen Barney <glen@amsl.com>
Subject: Re: [Tools-discuss] xml version of 1id-abstracts.txt/1id-index.txt and all_id.txt
X-BeenThere: tools-discuss@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: IETF Tools Discussion <tools-discuss.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/tools-discuss>, <mailto:tools-discuss-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/pipermail/tools-discuss>
List-Post: <mailto:tools-discuss@ietf.org>
List-Help: <mailto:tools-discuss-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tools-discuss>, <mailto:tools-discuss-request@ietf.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: tools-discuss-bounces@ietf.org
Errors-To: tools-discuss-bounces@ietf.org

quite a few of our documents are not submitted to working groups. Did  
you intend to have "ietf" as a potential working group? How did you  
want to handle that?

Personally, I would like to find individual submissions to working  
groups as well as working group documents here, perhaps with an  
attribute distinguishing them. The way we do this now is that working  
group documents are named draft-ietf-<wg>-... while individual  
submissions to working groups are named draft-<author>-<wg>-...  
Submissions that are not to a working group are draft-<author>-...  
and don't name a WG. But the secretariat only keeps track of the one  
category. That's mostly a database question, but it raises the  
question of an attribute that indicates working group status.

In a tool/page that used this, I would appreciate having a mailto  
link that got me to the authors, as in
     <a href="mailto:draft-whatever@tools.ietf.org">authors</a>,
similar links that got me to the relevant working group chairs and  
ADs, and a link that got me to the ID tracker, as in
     <a href="https://datatracker.ietf.org/idtracker/? 
&search_filename=draft...">ID Status</a>

I don't think that has to be in the XML description of the doc, but  
is certainly derivable from the data and would be useful.


On Apr 23, 2008, at 3:41 PM, Tony Hansen wrote:

> There was some discussion recently of having an xml version of the
> internet-drafts files 1id-*.txt and all_id.txt.
>
> Moving this further along, I'd like to make concrete proposals for the
> schema for such files. First off, for 1id-abstract, the schema  
> would be
> (I'm not an expert at DTDs, so forgive any errors here):
>
> <!ELEMENT internet-drafts (docs working-group-map)>
>    <!ELEMENT docs (doc*)>
>      <!ELEMENT doc (name, author, date, wg, file, abstract?)>
>        <!ELEMENT name (#PCDATA)>
>        <!ELEMENT author (#PCDATA)>
>        <!ELEMENT date (#PCDATA)>
>        <!ELEMENT wg (#PCDATA)>
>        <!ELEMENT file (#PCDATA)>
>        <!ELEMENT abstract (#PCDATA)>
>    <!ELEMENT working-group-map (group*)>
>      <!ELEMENT group (acronym, name)>
>        <!ELEMENT acronym (#PCDATA)>
>        <!ELEMENT name (#PCDATA)>
>
> Translation:
>    <internet-drafts> contains <docs> and <working-group-map>
>    <docs> contains 1 or more <doc>
>    <doc> contains a <name>, <author>, <date>, <wg>, <file> and  
> <abstract>
>    The <wg> contains a working group acronym.
>    At the end is a map from working group acronyms to spelled out  
> names.
>    <working-group-map> contains 1 or more <group>
>    Each <group> contains an <acronym> and <name>.
>
> A sample would look like this:
>
>      <?xml version='1.0' encoding='UTF-8'?>
>      <internet-drafts>
>      <docs>
>      <doc>
>       <name>Transmission of IP over Ethernet over IEEE
>        802.16 Networks</name>	
>       <author>HongSeok Jeon</author>
>       <date>18-Apr-08</date>
>       <wg>16ng</wg>
>       <file>draft-ietf-16ng-ip-over-ethernet-over-802.16-06.txt</file>
>       <abstract>
>        This document describes the transmission of IPv4 over ...
>      </doc>
>      ...
>      </docs>
>      <working-group-map>
>      <wg>
>       <acronym>16ng</acronym>
>       <name>IP over IEEE 802.16 Networks</name>
>      </wg>
>      <wg>
>       <acronym>6man</acronym>
>       <name>IPv6 Maintenance</name>
>      </wg>
>      ...
>      </working-group-map>
>      </internet-drafts>
>
> A complete sample file can be seen at
>     http://merlot.tools.ietf.org/~tonyh/internet-drafts/1id- 
> abstracts.xml
>
> For all_id.xml, I'm proposing this schema:
>
> <!ELEMENT all-internet-drafts (id*)>
>    <!ELEMENT id (file, date, status, tracker?, iesg?, by?, rfc?)>
>      <!ELEMENT file (#PCDATA)>
>      <!ELEMENT date (#PCDATA)>
>      <!ELEMENT status (#PCDATA)>
>      <!ELEMENT tracker (#PCDATA)>
>      <!ELEMENT iesg (#PCDATA)>
>      <!ELEMENT by (#PCDATA)>
>      <!ELEMENT rfc (#PCDATA)>
>
> Translation:
>    <all-internet-drafts> contains one or more <id>
>    Each <id> contains a <file>, a <date>, and a <status>
>    Depending on the value of <status>, there may be a <tracker>, a
>    <iesg>, a <by> and a <rfc>.
>
> A sample would look like this:
>
>    <all-internet-drafts>
>      <id>
>        <file>draft-adolf-dvb-urn-03</file>
>        <date>2007-12-18</date>
>        <status>In IESG processing</status>
>        <iesg>Revised ID Needed</iesg>
>      </id>
>      <id>
>        <file>draft-cain-post-inch-phishingextns-03</file>
>        <date>2007-10-25</date>
>        <status>In IESG processing</status>
>        <tracker>Publication Requested</tracker>
>      </id>
>      <id>
>        <file>draft-zorn-radius-port-type-04</file>
>        <date>2006-04-04</date>
>        <status>RFC</status>
>        <rfc>4603</rfc>
>      </id>
>      <id><file>draft-yokota-mipshop-3gfh-02</file>
>        <date>2008-03-03</date>
>        <status>Replaced</status>
>        <by>draft-ietf-mipshop-3gfh</by>
>      </id>
>    </all-internet-drafts>
>
> A complete sample file can be seen at
>     http://merlot.tools.ietf.org/~tonyh/internet-drafts/all_id.xml
>
> Thoughts?
>
> 	Tony Hansen
> 	tony@att.com
> _______________________________________________
> Tools-discuss mailing list
> Tools-discuss@ietf.org
> https://www.ietf.org/mailman/listinfo/tools-discuss

_______________________________________________
Tools-discuss mailing list
Tools-discuss@ietf.org
https://www.ietf.org/mailman/listinfo/tools-discuss