Re: [xml2rfc] url ref confusion

Julian Reschke <julian.reschke@gmx.de> Fri, 19 April 2019 19:59 UTC

Return-Path: <julian.reschke@gmx.de>
X-Original-To: xml2rfc@ietfa.amsl.com
Delivered-To: xml2rfc@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 037F21203D4 for <xml2rfc@ietfa.amsl.com>; Fri, 19 Apr 2019 12:59:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level:
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=gmx.net
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 6YKkh5xWKfmu for <xml2rfc@ietfa.amsl.com>; Fri, 19 Apr 2019 12:59:01 -0700 (PDT)
Received: from mout.gmx.net (mout.gmx.net [212.227.17.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9AD93120187 for <xml2rfc@ietf.org>; Fri, 19 Apr 2019 12:59:00 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1555703919; bh=gHDmubbz59k018zNlRA04lwGuce/jExPjU2FvAA++zo=; h=X-UI-Sender-Class:Subject:To:References:From:Date:In-Reply-To; b=iW8iGrI30J+iBoDkWal+NzodXKsqVyg/XFmzCo76E6zfgxb9QQArb2EjTbWNANlq/ 5Z+AeFT3m31Q408C/+RiDS7qRbM81y/gF0YixaCKtAwDp/ris9MkGSmQv5LOiKcvuJ 7Nll0Uvzw/CD8SXcro/u83vPFdf5w8yR8OaOWf6M=
X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c
Received: from [192.168.178.124] ([84.171.158.253]) by mail.gmx.com (mrgmx102 [212.227.17.168]) with ESMTPSA (Nemesis) id 0LhCDT-1gW89A2WYB-00oY7h; Fri, 19 Apr 2019 21:58:39 +0200
To: Henrik Levkowetz <henrik@levkowetz.com>, Randy Bush <randy@psg.com>, XML2RFC Interest Group <xml2rfc@ietf.org>
References: <m28sw5q3k4.wl-randy@psg.com> <3b80d5f4-93bb-ae0b-bcc1-1879f558594c@levkowetz.com>
From: Julian Reschke <julian.reschke@gmx.de>
Message-ID: <db22da99-cd84-ce0e-9d11-426b4298cdac@gmx.de>
Date: Fri, 19 Apr 2019 21:58:36 +0200
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1
MIME-Version: 1.0
In-Reply-To: <3b80d5f4-93bb-ae0b-bcc1-1879f558594c@levkowetz.com>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable
X-Provags-ID: V03:K1:dsGCWWNlTcaXsyiYpjEWUnvghB+bEdWv1pFjjWKko1vRn8/Q1L3 XsUIhzlm0VBRONjPLQtsercc6qQl21SU9P90zjwxT+5T5jHoWdPOG3aXyoXHcmr4Y4f7sAT MBw9TQBEoKJhlr0ii1W9FzFbj3D+ILNs81JD7ErdBlSB/HQFlSfcOeESjxxAObcaDT6VXRL gP4xlJLjAnY56Aoht7tXQ==
X-UI-Out-Filterresults: notjunk:1;V03:K0:mhTut3PbC/s=:sHixXuIiTz52vbuyeyDkPf 0x2eN+wibcjkJ0LiWFkYahjN0YwAESH4Y9pOasqtt9xB+cX+/NyhH4HHOVLL6F04DcoJWuWnE Y6QhkmE4UmPYb+chdeus94HzSkjJfKSjuw7c2uaf0M2CXBrv/d70ZVVkaLSsvX3iJbjXtUxGY kErjgcUCLdXEjr7/WFD+fPFM9ciBFR8n/9aJ+yX2BkQrRZwvJ/zcCbutmujrz+5quPuPJRTRD yVZWtI0BDwr2AQFfktHOo4GOPPWvSrfSR+Ip33pQYAbvTYjTZADGx6lVso3uNrhA0Df+t67Zw 9+NKU37GUiyb3e+dyhLlaODhAfkPDSy85sT2cA7z6Z4jouSeH9YB5zHCw5E8Rdj26bB4HS610 z/ZJlYvr+/wvWxOgGr0LnXzsvpxiy/nmxo1L1hBOdt7jYUmKPzc/cgOqeAgaap+2CIOsz3PT2 cQu3ldxR32jQ3CyX57MXrVmhwwY/NHJkOd+wpCtSf/pcyQ5CN3E29T0Fyw5egkn7j8882iTxx IH7Xh/VQSvimoZMdUVyftReupr88TM8qCVxqIVqTqsOZDv0ubZBly0mDnruz2guL9eq3RKHgX xZNH5+noOYkARJDbIlozK96kGx3nRY14WQQUv0jILtSv3ivo6C9LasCV6Y21lQvXwRe4G/eFj BJSc3TLZZelxgHSHoyLTia/BnDYeJ9W85OOh0DCW522DNcT+yA4pOnRADKITM7pAjcRk2ipMQ qVDOEMSFbiKLcbDsZY3sR1JjXYtjNYZGkSlIE2OL74OcTQVtp23AXQoWdpcniZGAGC95lgzee 968/TKUXMmytjyIXZHf8v9jiWePLZ+wAQuaZPzITOH3RqnIzkB8fOXAgd0HSy9HIbOG1AyRhb 7biE/DsCJtI0vSPjD54Ebiv41oVUowZOe84eDhWRrXZd1z/RqIbfEBoa8OjeBpGJaP8cHoxTq GYsAYJOigUQ==
Archived-At: <https://mailarchive.ietf.org/arch/msg/xml2rfc/hEkgFKfehdagscdo5u-TQnQHYgc>
Subject: Re: [xml2rfc] url ref confusion
X-BeenThere: xml2rfc@ietf.org
X-Mailman-Version: 2.1.29
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: <https://mailarchive.ietf.org/arch/browse/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: Fri, 19 Apr 2019 19:59:03 -0000

On 19.04.2019 20:19, Henrik Levkowetz wrote:
> Hi Randy,
>
> On 2019-04-19 19:59, Randy Bush wrote:
>> https://www.rfc-editor.org/materials/FAQ-xml2rfcv3.html#name-how-do-i-reference-a-url
>> says
>>
>>      <reference anchor="W3C" target="https://www.w3.org/">
>>          <front>
>>              <title>World Wide Web Consortium (W3C)</title>
>>              <author/>
>>          </front>
>>      </reference>
>
> Huh.  That has the same problem as your <reference>:
>
>> i try
>>
>>      <reference anchor="Clos" target="https://en.wikipedia.org/wiki/Clos_network/">
>>        <front>
>>          <title>Clos Network</title>
>> 	<author/>
>>          </front>
>>        </reference>
>>
>> i get
>>
>> Error: Unable to validate the XML document: foo.xml
>> <string>: Line 1552: Element front content does not follow the DTD,
>> expecting (title , author+ , date , area* , workgroup* , keyword* ,
>> abstract? , note*), got (title author)
>
> ... which is that the <date> element is not optional.  If you look at
> the error message, it says ... expecting (title , author+ , date , ...;
> i.e., with no '*' or '?' after 'date', it cannot be omitted.  If you
> add a <date/> you should do better.

....FWIW, it *is* optional in v3.

Best regards, Julian