Re: RFC archival format, was: Re: More liberal draft formatting standards required

Douglas Otis <dotis@mail-abuse.org> Mon, 13 July 2009 19:56 UTC

Return-Path: <dotis@mail-abuse.org>
X-Original-To: ietf@core3.amsl.com
Delivered-To: ietf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 20C5F28C49F for <ietf@core3.amsl.com>; Mon, 13 Jul 2009 12:56:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.374
X-Spam-Level:
X-Spam-Status: No, score=-6.374 tagged_above=-999 required=5 tests=[AWL=0.225, 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 t24Z-FhBzrZX for <ietf@core3.amsl.com>; Mon, 13 Jul 2009 12:56:21 -0700 (PDT)
Received: from harry.mail-abuse.org (harry.mail-abuse.org [168.61.5.27]) by core3.amsl.com (Postfix) with ESMTP id ECA2A28C372 for <ietf@ietf.org>; Mon, 13 Jul 2009 12:56:21 -0700 (PDT)
Received: from [IPv6:::1] (gateway1.sjc.mail-abuse.org [168.61.5.81]) by harry.mail-abuse.org (Postfix) with ESMTP id E67EEA94447; Mon, 13 Jul 2009 19:56:46 +0000 (UTC)
From: Douglas Otis <dotis@mail-abuse.org>
To: Doug Ewell <doug@ewellic.org>
In-Reply-To: <E5D652AAB53B42699B4890D9B43DD946@DGBP7M81>
Subject: Re: RFC archival format, was: Re: More liberal draft formatting standards required
X-Priority: 3
References: <01ACD6EF5D2742A1832D0D585B2185F4@DGBP7M81><410BE357-1AE2-4E60-AB97-ED449A821DBF@mail-abuse.org><7CBFBEC8464443A695EB3636E4E41604@DGBP7M81> <86ljmt63fn.fsf@betla.izb.knu.ac.kr> <E5D652AAB53B42699B4890D9B43DD946@DGBP7M81>
Message-Id: <6D09C7E5-007A-46D3-8302-8682C1473B60@mail-abuse.org>
Content-Type: text/plain; charset="US-ASCII"; format="flowed"; delsp="yes"
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v935.3)
Date: Mon, 13 Jul 2009 12:56:43 -0700
X-Mailer: Apple Mail (2.935.3)
Cc: ietf@ietf.org
X-BeenThere: ietf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: IETF-Discussion <ietf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ietf>, <mailto:ietf-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ietf>
List-Post: <mailto:ietf@ietf.org>
List-Help: <mailto:ietf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ietf>, <mailto:ietf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 13 Jul 2009 19:56:23 -0000

On Jul 12, 2009, at 4:42 PM, Doug Ewell wrote:

> This thread has been headed down the wrong path from the outset, as  
> soon as Tony Hain wrote on July 1:
>
>> An alternative would be for some xml expert to fix xml2rfc to parse  
>> through the xml output of Word. If that happened, then the  
>> configuration options described in RFC 3285 would allow for wysiwyg  
>> editing, and I would update 3285 to reflect the xml output process.  
>> I realize that is a vendor specific option, but it happens to be a  
>> widely available one.
>
> I modified that, along the course of the thread, to suggest that a  
> separate "word2rfc" tool might be a more sensible option.
>
> To the extent the .doc format is "highly flexible" -- which isn't  
> really true anyway; it's been rather stable since 1997, and the new  
> XML-based format is called .docx -- I can see that as an obstacle  
> for someone writing such a conversion tool.  But I challenge anyone  
> to find the slightest suggestion in this thread that we should  
> publish IETF documents directly in Word format. Let's at least argue  
> the same point, folks.

These concerns took your concept to a logical conclusion.  Notice the  
definition for "sttbListNames" in:
http://www.microsoft.com/interop/docs/OfficeBinaryFormats.mspx

Logically, rather than modifying TCL xml2rfc code to interpret xml2rfc  
structures embedded within Word structures, Visual Basic would  
represent a more likely tool, since it is already supported by the  
Word application.  To view this support, double click a control in  
Design Mode, and see Word open a Visual Basic editor.  Visual Basic  
provides access to ActiveX routines, where in 2007, additional content  
based routines along with custom XML storage for its binary format had  
been added.  Although placing controls directly into a Word document  
is not the norm (prints as a graphic),  these controls can generate  
RFC compliant outputs, and even bibliographic XML fragments to assist  
in the generation of the bibliographic sections.  No TCL code would be  
needed.    A less risky alternative to that of Word might be to use  
Java with Open Office.

 From the IETF perspective, in addition to the ASCII text files being  
used as the archived form, xml2rfc files are retained to generate  
alternative presentations and as input for generation process.  The  
concern related to the use of the Word input format, which has changed  
in 97, 00, 02, 03, 07, and is likely again in 10, remains that of  
security.  Changes are not always apparent, and even format  
documentation can not be relied upon when details related to active  
components are ill defined.  The security concern is in regard to the  
embedded program language, especially when the program is to be relied  
upon as the means to generate IETF compliant outputs.  The Internet is  
not a safe place, where a practice of embedding programs that can  
cause harm into what could have been innocuous text should be  
considered a bad practice.  Currently, collaboration between  
individuals might be accomplished by sharing xml2rfc input files,  
which are also retained with the plain text  RFC output.  Reliance  
upon Word input files as a replacement for xml2rfc files will  
invariably lead to a bad practice of depending upon potentially  
harmful embedded programs.

Use of xml2rfc conversions has uncovered some odd quirks.  The tool  
does not cache bibliographic database selections.  Either this works  
on-line, or the entire database needs to be local.  Not to diminish  
the service offered by Carl Malamud, occasional sporadic connections  
to the xml.resource.org servers can be a cause of angst for authors  
who have not obtained the entire tarred xml bibliographic database.   
Lately, the dependability of the xml2rfc approach has become less  
reliable when dealing with cryptic entries and beta TCL needed to  
generate I-D boilerplate language as required by nit checker.

This makes one wonder whether there could be a better way.  A hybrid  
approach might offer the similar features found in xml2rfc with the  
simpler the inputs supported by 'roff.  This would not exclude the use  
of Word, but would not depend upon any of Word's content automations.   
Perhaps a bit of Perl could provide the pre and post processors to  
handle something that resembles the xml2rfc front section.  While roff  
is not perfect, it has been more stable than other WISIWYG word  
processors and, when used in conjunction with separate pre/post  
processors, can generate the desired alternative outputs.

-Doug