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

Henrik Levkowetz <henrik@levkowetz.com> Thu, 24 April 2008 18:24 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 2D12E28C1A9; Thu, 24 Apr 2008 11:24:16 -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 E45ED3A6C3A for <tools-discuss@core3.amsl.com>; Thu, 24 Apr 2008 11:24:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.401
X-Spam-Level:
X-Spam-Status: No, score=0.401 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, J_CHICKENPOX_22=0.6, J_CHICKENPOX_52=0.6, J_CHICKENPOX_62=0.6, J_CHICKENPOX_82=0.6, J_CHICKENPOX_92=0.6]
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 5wT9j9VM1hpp for <tools-discuss@core3.amsl.com>; Thu, 24 Apr 2008 11:24:10 -0700 (PDT)
Received: from merlot.tools.ietf.org (unknown [IPv6:2a01:3f0:0:31:214:22ff:fe21:bb]) by core3.amsl.com (Postfix) with ESMTP id 75CE53A6BF2 for <tools-discuss@ietf.org>; Thu, 24 Apr 2008 11:24:08 -0700 (PDT)
Received: from localhost ([127.0.0.1]:42319 helo=chardonnay-2.local) by merlot.tools.ietf.org with esmtp (Exim 4.69) (envelope-from <henrik@levkowetz.com>) id 1Jp675-0005LN-Ps; Thu, 24 Apr 2008 20:24:08 +0200
Message-ID: <4810D046.10603@levkowetz.com>
Date: Thu, 24 Apr 2008 20:24:06 +0200
From: Henrik Levkowetz <henrik@levkowetz.com>
User-Agent: Thunderbird 2.0.0.12 (Macintosh/20080213)
MIME-Version: 1.0
To: tony@att.com, tools-discuss@ietf.org
References: <480FBB16.9020603@att.com> <1696498986EFEC4D9153717DA325CB7271D47E@vaebe104.NOE.Nokia.com>
In-Reply-To: <1696498986EFEC4D9153717DA325CB7271D47E@vaebe104.NOE.Nokia.com>
X-Enigmail-Version: 0.95.6
X-SA-Exim-Connect-IP: 127.0.0.1
X-SA-Exim-Rcpt-To: tony@att.com, tools-discuss@ietf.org, Pasi.Eronen@nokia.com, fenner@gmail.com, glen@amsl.com, henrik-sent@levkowetz.com
X-SA-Exim-Mail-From: henrik@levkowetz.com
X-SA-Exim-Scanned: No (on merlot.tools.ietf.org); SAEximRunCond expanded to false
Cc: fenner@gmail.com, Pasi.Eronen@nokia.com, glen@amsl.com
Subject: Re: [Tools-discuss] xml version of 1id-abstracts.txt/1id-index.txt andall_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

And below is the format which is currently used in the state.xml
files available for all current and most old drafts at 
tools.ietf.org/draft/<DRAFTNAME>/state.xml.  I think a revision
of this format which uses Pasi's schema for the <author/> tag
would be good.

Note the <state/> tag which is more complex than the other
proposals -- this is in order to be able to handle the fact that
there may be multiple simultaneous states for various phases of
the document processing, such as the IESG, IANA, and RFC-Editor
queue states.

There's also additional state information of a type which both
in the IESG case and in the RFC-editor case can exist in multiple
instances (so it's not really state information) -- I've called
this <infotag/>, and there can be multiple infotags within a
<state/> element.


<ietfdoc version="0.92">
   <id>draft-ietf-dhc-paa-option</id>
   <state>
      <phase>IESG</phase>
      <stage>RFC-queue</stage>
   </state>
   <state>
      <phase>RFC-Editor</phase>
      <stage>Auth48</stage>
      <infotag>Dependency</infotag>
   </state>
   <info>
      <abstract>This document defines new DHCPv4 and DHCPv6 options that contain a\nlist of IP addresses to locate one or more of PANA Authentication\nAgents (PAA). This is one of the methods that a PANA Client (PaC) can\nuse to locate PANA Authentication Agents (PAA).</abstract>
      <areadir>Jari Arkko</areadir>
      <author>Lionel Morand &lt;lionel.morand@orange-ft.com&gt;</author>
      <author>Alper Yegin &lt;alper01.yegin@partner.samsung.com&gt;</author>
      <author>Suraj Kumar &lt;surajk@techmahindra.com&gt;</author>
      <author>Syam Madanapalli &lt;syam@samsung.com&gt;</author>
      <bytes>16022</bytes>
      <deststatus>Standards Track</deststatus>
      <idnum>13742</idnum>
      <pages>9</pages>
      <refs>draft-ietf-pana-pana[in-queue]</refs>
      <rev>05</rev>
      <source>Dynamic Host Configuration</source>
      <submitted>2006-12-18</submitted>
      <title>DHCP options for PANA Authentication Agents</title>
      <validity>Active</validity>
      <wg>dhc</wg>
   </info>
</ietfdoc>




On 2008-04-24 19:06 Pasi.Eronen@nokia.com said the following:
> Here's a sample from the code I currently have:
> 
> <id xml:id="draft-ietf-xcon-framework">
>   <id>draft-ietf-xcon-framework</id>
>   <documentInfo>
>     <docValidity>Active</docValidity>
>     <revision>10</revision>
>     <revisionDate>2007-11-09</revisionDate>
>     <idTrackerTag>13106</idTrackerTag>
>     <fileTypes>.txt</fileTypes>
>     <title>A Framework for Centralized Conferencing</title>
>     <author>
>       <email>mary.barnes@nortel.com</email>
>       <name>Mary Barnes</name>
>     </author>
>     <author>
>       <email>cboulton@avaya.com</email>
>       <name>Chris Boulton</name>
>     </author>
>     <author>
>       <email>oritl@microsoft.com</email>
>       <name>Orit Levin</name>
>     </author>
>     <abstract>
> This document defines the framework for Centralized Conferencing.<br />
> The framework allows participants using various call signaling<br />
> protocols, such as SIP, H.323, Jabber, Q.931 or ISUP, to exchange<br />
> media in a centralized unicast conference.  The Centralized<br />
> Conferencing Framework defines logical entities and naming<br />
> conventions.  The framework also outlines a set of conferencing<br />
> protocols, which are complementary to the call signaling protocols,<br />
> for building advanced conferencing applications.  The framework binds<br />
> all the defined components together for the benefit of builders of<br />
> conferencing systems.</abstract>
>     <group>xcon</group>
>   </documentInfo>
>   <stateInfo type="idTracker">
>     <state>IESG Evaluation</state>
>     <subState>Revised ID Needed</subState>
>     <lastModifiedDate>2007-11-09</lastModifiedDate>
>     <idTrackerToken>Cullen Jennings</idTrackerToken>
>     <intendedStatus>Proposed Standard</intendedStatus>
>   </stateInfo> 
> </id>
> 
> Some explanation:
> 
> "docValidity" is one of: Active, Expired, RFC, Withdrawn by submitter, 
> Withdrawn by IETF, and Replaced. All Internet-Drafts are in one of
> these states.
> 
> The <stateInfo type="idTracker"> describes what IESG is doing 
> with the document. A document could also have similar blocks
> for <stateInfo type="rfcEditor"> and <stateInfo type="iana">.
> 
> Best regards,
> Pasi
> 
>> -----Original Message-----
>> From: tools-discuss-bounces@ietf.org 
>> [mailto:tools-discuss-bounces@ietf.org] On Behalf Of ext Tony Hansen
>> Sent: 24 April, 2008 01:41
>> To: tools-discuss@ietf.org
>> Cc: Bill Fenner; Henrik Levkowetz; Glen Barney
>> Subject: [Tools-discuss] xml version of 
>> 1id-abstracts.txt/1id-index.txt andall_id.txt
>>
>> 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
> 
_______________________________________________
Tools-discuss mailing list
Tools-discuss@ietf.org
https://www.ietf.org/mailman/listinfo/tools-discuss