Re: [Tools-discuss] HTML as alternate format for IETF Internet-Draft Submission

Carsten Bormann <cabo@tzi.org> Sun, 29 January 2012 20:35 UTC

Return-Path: <cabo@tzi.org>
X-Original-To: tools-discuss@ietfa.amsl.com
Delivered-To: tools-discuss@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A562F21F84E7 for <tools-discuss@ietfa.amsl.com>; Sun, 29 Jan 2012 12:35:05 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -106.249
X-Spam-Level:
X-Spam-Status: No, score=-106.249 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HELO_EQ_DE=0.35, RCVD_IN_DNSWL_MED=-4, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jRHGGJcwskdL for <tools-discuss@ietfa.amsl.com>; Sun, 29 Jan 2012 12:35:05 -0800 (PST)
Received: from informatik.uni-bremen.de (mailhost.informatik.uni-bremen.de [IPv6:2001:638:708:30c9::12]) by ietfa.amsl.com (Postfix) with ESMTP id A93AF21F84D9 for <Tools-discuss@ietf.org>; Sun, 29 Jan 2012 12:35:04 -0800 (PST)
X-Virus-Scanned: amavisd-new at informatik.uni-bremen.de
Received: from smtp-fb3.informatik.uni-bremen.de (smtp-fb3.informatik.uni-bremen.de [134.102.224.120]) by informatik.uni-bremen.de (8.14.3/8.14.3) with ESMTP id q0TKYqCu028066; Sun, 29 Jan 2012 21:34:52 +0100 (CET)
Received: from [192.168.217.106] (p5489BB84.dip.t-dialin.net [84.137.187.132]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp-fb3.informatik.uni-bremen.de (Postfix) with ESMTPSA id 770BC971; Sun, 29 Jan 2012 21:34:52 +0100 (CET)
Mime-Version: 1.0 (Apple Message framework v1251.1)
Content-Type: text/plain; charset="iso-8859-1"
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <4F25A9C7.4050804@gmx.de>
Date: Sun, 29 Jan 2012 21:34:54 +0100
Content-Transfer-Encoding: quoted-printable
Message-Id: <3F4AA349-48A4-4F44-BFE8-392A60434464@tzi.org>
References: <4F25657F.20103@gmx.de> <4F259B94.4090404@gmail.com> <CAK3OfOjH_NzhuTq7tfKy3ydPXa3u27aQaee-Gkh-q=+ercuVrA@mail.gmail.com> <4F25A0E4.60107@gmx.de> <CAK3OfOghth0uZjDNm3xL53b6ynY1LisPEat6+B9e_6u_M0BUww@mail.gmail.com> <4F25A9C7.4050804@gmx.de>
To: Julian Reschke <julian.reschke@gmx.de>
X-Mailer: Apple Mail (2.1251.1)
Cc: Tools-discuss@ietf.org
Subject: Re: [Tools-discuss] HTML as alternate format for IETF Internet-Draft Submission
X-BeenThere: tools-discuss@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: IETF Tools Discussion <tools-discuss.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tools-discuss>, <mailto:tools-discuss-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/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>
X-List-Received-Date: Sun, 29 Jan 2012 20:35:05 -0000

On Jan 29, 2012, at 21:19, Julian Reschke wrote:

> Well, the server doesn't.

It would be a SMOP to [install your XSLT into the server -- already done --, and to] make sure every XML is delivered with the PI to reference it.
Then we need some code to resolve the cross-origin SYSTEM entities (xmllint -noent?).
Finally, there should be an IDNITS check for valid XML...

I really like looking at drafts in rfc2629.xslt processed form, so much that I usually generate standalone XML that doesn't use cross-origin SYSTEM entities.
(kramdown-rfc2629 has an option for generating that form.)  But for the people who like to embed the xml.resource.org entities into the XML, the above would be necessary.

(E.g., look at
http://tools.ietf.org/id/draft-6man-udpzero-00.xml
for a draft that has the cross-origin problem and therefore doesn't show references right, and at
http://tools.ietf.org/id/draft-aayadi-6lowpan-tcphc-01.xml
for a draft that doesn't but unfortunately isn't even valid, and at
http://tools.ietf.org/id/draft-abarth-cake-00.xml
for how a standalone draft looks like.  Nice.
)

Grüße, Carsten