Re: [xml2rfc] reference src attribute

Julian Reschke <julian.reschke@gmx.de> Mon, 29 May 2017 17:46 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 8317D129ADC for <xml2rfc@ietfa.amsl.com>; Mon, 29 May 2017 10:46:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.2
X-Spam-Level:
X-Spam-Status: No, score=-2.2 tagged_above=-999 required=5 tests=[BAYES_50=0.8, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-2.8, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] autolearn=ham autolearn_force=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 k6q6VTmAWoVS for <xml2rfc@ietfa.amsl.com>; Mon, 29 May 2017 10:46:37 -0700 (PDT)
Received: from mout.gmx.net (mout.gmx.net [212.227.17.21]) (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 98D531200F3 for <xml2rfc@ietf.org>; Mon, 29 May 2017 10:46:36 -0700 (PDT)
Received: from [192.168.178.20] ([93.217.121.164]) by mail.gmx.com (mrgmx102 [212.227.17.168]) with ESMTPSA (Nemesis) id 0LfYqz-1diQ1g1rWj-00p3hm; Mon, 29 May 2017 19:46:33 +0200
To: Axel.Nennker@telekom.de, xml2rfc@ietf.org
References: <e4ece38ae0fa49ff84342949e89ddfef@HE101654.emea1.cds.t-internal.com>
From: Julian Reschke <julian.reschke@gmx.de>
Message-ID: <c8f9a6f1-fd2e-bb36-a7e1-8c7c1362ccea@gmx.de>
Date: Mon, 29 May 2017 19:46:32 +0200
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1
MIME-Version: 1.0
In-Reply-To: <e4ece38ae0fa49ff84342949e89ddfef@HE101654.emea1.cds.t-internal.com>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Language: en-US
Content-Transfer-Encoding: 7bit
X-Provags-ID: V03:K0:/4XgDNnjCkOW8yYSrcXWtDPw2AlrFVDdVsJn0+xwo2M24BGC8hw y2VPW4Ss1iylhmH52e+8DoufzCXYcEYXptGMaztTYZhAhE+RKO7gJ2MTJ0d4Dhh/3AR4pNv zRvfm6w11NjtNFb7/H72j2H+qaoLNCSjSUY34vF/uUrGPEplGbEt7vH4ozD8LdHOjV/MT2u Z/Tayyyxdu3FtIbHM+U3g==
X-UI-Out-Filterresults: notjunk:1;V01:K0:xi/kvbg6eWc=:w2spF8SA7spf0Iev4lncrK TPNNjK41xLwhEOT0Xd63xizTJT2RFCbt6feIxu00lfuKPb73PcknPds7CUJ4SVrZnyvK+m7Dj Ey+QdN+SnRbW8fbImIkI8kT+R504xRwwgUJfonKIuSQqiBdSo/l9qLZMGl0iN7Kh5vIRdcJ2S wt4tcKwfYaA//9Bk9fM3ToBe1vAfg/J61ZboZXLqvrIijhj28+T5xgpLqtni1fO1Xa1XQZ27/ /5TSQLG3POo6FA53JmoxKav4EnSqX0wO1Zefx5Y+QPgQ9jxb8qWPsixguq8IVKdRVofsUn21K PlmH4ubTsa7irVR1ZzQCEVHbkYHnwIRpwrJiH4QUkcjEwlDJF7kSet5/UNF8L8DJ//ANvxreL fLgWwqXHS9e9Ibwth5Jr0A8GL3HjEuWSpjlSdPjvQn03Oxm34ItkFiTy5XorfYYRWWZYeVHn2 oGXr37Lx8EEhrXzISi08CGIhfjGkg1Zst18OMkFvcGwKIHVZkxnwVBor9BT+N311PO3U+z+ae Mej9gIe8uJaQtvopp9zt3huke8Lrir7WxUN4bgspIiC88oxAFPRcG7sx7JVwMGmYHFWsd+M8s p1VgYR5QfKweMzMxudSEwxOOiN/uRPWREsyIDDbUEN83h3JOJ98bGyxW6y4VeXSi8IJkmLVZ6 WRyA9JE8ynUfR6ZGrbMYvZ9eRZw7/PDVHZhvA7nowFTixurG62IAnNzC6D/9n71eopcWGf0Uv G/vOwIArN8SKmhDwrfg+w+QOzzQAeKjmpMwyVy0jKmuywigP4RI3U+KoWhYIVLHzTANXNGyq1 28V7Puc
Archived-At: <https://mailarchive.ietf.org/arch/msg/xml2rfc/gCIpT5GC-rY2ewoPcK5fGIrCFng>
Subject: Re: [xml2rfc] reference src attribute
X-BeenThere: xml2rfc@ietf.org
X-Mailman-Version: 2.1.22
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: Mon, 29 May 2017 17:46:38 -0000

On 2017-05-29 15:35, Axel.Nennker@telekom.de wrote:
> Hi,
> 
> I looked at the issue tracker and did not find a similar proposal back until 2013 where I stopped looking.
> I apologize if this has been asked and rejected before.
> 
> I am wondering why a reference in xml2ref cannot point to a xml2ref document and the "front" element is pulled from that xml2ref document.
> 
> Example:
> 
> When the processor encounters this element in an xml2ref document:
> <reference src=" https://bitbucket.org/openid/mobile/raw/tip/draft-mobile-client-initiated-backchannel-authentication.xml" />
> It would pull the first child "/rfc/front[0]" from that document and treat it as if it were the first child of this reference.
> Maybe kids that are legal for /ref/front but illegal for //reference/front must be ignored.
> 
> Does this make sense?
> 
> Cheers
> Axel

In V3, you could do this using XInclude, see 
<https://www.greenbytes.de/tech/webdav/rfc7991.html#includingexternal> 
(depending on whether we leave things open as specified now or restrict 
the use of the "xpath" attribute).

Best regards, Julian