[xml2rfc] <spanx> whitespace handling

Julian Reschke <julian.reschke@gmx.de> Tue, 28 January 2014 13:19 UTC

Return-Path: <julian.reschke@gmx.de>
X-Original-To: xml2rfc@ietfa.amsl.com
Delivered-To: xml2rfc@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C75361A03D6 for <xml2rfc@ietfa.amsl.com>; Tue, 28 Jan 2014 05:19:06 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.601
X-Spam-Level:
X-Spam-Status: No, score=0.601 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, FREEMAIL_FROM=0.001, J_CHICKENPOX_35=0.6, SPF_FAIL=0.001] autolearn=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 c-Yta37vSpur for <xml2rfc@ietfa.amsl.com>; Tue, 28 Jan 2014 05:19:05 -0800 (PST)
Received: from cyclone.public.resource.org (cyclone.public.resource.org [192.101.98.135]) by ietfa.amsl.com (Postfix) with ESMTP id 95E8C1A03D9 for <xml2rfc@ietf.org>; Tue, 28 Jan 2014 05:19:04 -0800 (PST)
Received: from mout.gmx.net (mout.gmx.net [212.227.15.15]) by cyclone.public.resource.org (8.14.5/8.14.4) with ESMTP id s0SDIbFb003431 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for <xml2rfc@lists.xml.resource.org>; Tue, 28 Jan 2014 05:18:38 -0800 (PST) (envelope-from julian.reschke@gmx.de)
Received: from [192.168.1.102] ([217.91.35.233]) by mail.gmx.com (mrgmx002) with ESMTPSA (Nemesis) id 0MEnX8-1W5MKq3V7a-00FzOG for <xml2rfc@lists.xml.resource.org>; Tue, 28 Jan 2014 14:18:30 +0100
Message-ID: <52E7AE20.10702@gmx.de>
Date: Tue, 28 Jan 2014 14:18:24 +0100
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0
MIME-Version: 1.0
To: xml2rfc <xml2rfc@lists.xml.resource.org>
References: <52E7ADC7.7020902@greenbytes.de>
In-Reply-To: <52E7ADC7.7020902@greenbytes.de>
X-Forwarded-Message-Id: <52E7ADC7.7020902@greenbytes.de>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
X-Provags-ID: V03:K0:OyX5RBr6JtlSOhZxyfhA7MefgizIkJ7ylr0lX2Yh4JVYkdqnGMJ qc3C0t2OS1IIrnZnShlYjjreLeGVJxDDmE1r9tp7yGPC0tHPD3yL9nj0YwFnsSpsfQYclJi ByX4OAi7cuFhXJFTAPfLz+8FRXgGeFpR8HL1soaGBW/0z8odEE9Y2R2T1bh8/kE17pnkve+ /UtGuD/YIoycKZ8q5BtYg==
Subject: [xml2rfc] <spanx> whitespace handling
X-BeenThere: xml2rfc@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <xml2rfc.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/xml2rfc>, <mailto:xml2rfc-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/xml2rfc/>
List-Post: <mailto:xml2rfc@ietf.org>
List-Help: <mailto:xml2rfc-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/xml2rfc>, <mailto:xml2rfc-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 28 Jan 2014 13:19:07 -0000

Hi there,

<http://xml.resource.org/authoring/draft-mrose-writing-rfcs.html> claims:

"(Note that leading and trailing whitespace is significant.)"

Also, the DTD has:

<!ELEMENT spanx (%CTEXT;)>

<!ATTLIST spanx
   xml:space (default|preserve) 'preserve'
   style %ATEXT; 'emph'>

...which implies that whitespace inside <spanx> is significant.

In practice, that doesn't seem to be the case (in xml2rfc.tcl,
rfc2629.xslt, v2).

I thus conclude that the statement was something like wishful thinking,
and that we can remove the xml:space default from the <spanx> definition.

Best regards, Julian