[rfc-i] How to indent artwork with surrounding block

julian.reschke at gmx.de (Julian Reschke) Wed, 17 February 2016 16:02 UTC

From: julian.reschke at gmx.de (Julian Reschke)
Date: Wed, 17 Feb 2016 17:02:22 +0100
Subject: [rfc-i] How to indent artwork with surrounding block
In-Reply-To: <ABE4C6E5-FF69-4597-8C92-1C6728E0F1A3@vpnc.org>
References: <76FD8A33-4FE3-4333-8E7C-BE2E274C1D24@cisco.com> <970A412E-B227-420F-8EE7-611A228D93E1@vpnc.org> <56C3EFA0.9010208@gmail.com> <A2D5E0B4-9BE7-4166-BC17-EA078C938C97@att.com> <56C480A6.9060509@gmx.de> <56C483B4.6070002@tzi.org> <8A4B09EE-D1D6-4128-A841-74FE0A71B8D2@att.com> <ABE4C6E5-FF69-4597-8C92-1C6728E0F1A3@vpnc.org>
Message-ID: <56C4998E.5000905@gmx.de>

On 2016-02-17 16:24, Paul Hoffman wrote:
> On 17 Feb 2016, at 7:01, HANSEN, TONY L wrote:
>
>> Yes, <CODE BEGINS> and <CODE ENDS> is just one way in which code
>> components can be identified. It's definitely not a requirement.
>
> Exactly. I misunderstood the need for those, and thus supported the
> <example> idea earlier, but now I am quite sure we don't need it.

I'm not completely sure how

a) the need to identify code that should be surrounded with "<CODE 
BEGINS>" / "<CODE ENDS>", and

b) the desire to distinguish between artwork (like diagrams), source 
code (such as ABNF), and examples (such as protocol messages)

relate to each other. Could you elaborate?

>> Are there cases where one can have source code within the XML to which
>> the IPR statement applies, as well as code within the XML to which the
>> IPR statement does NOT apply? Does
>> <http://trustee.ietf.org/license-info/IETF-TLP-5.htm> imply though
>> that we should have an attribute within the XML that indicates whether
>> the IPR code statement applies or not? Or is this a rat hole?
>
> The Trust can tell us all that in the future. Adding an attribute to
> <sourcecode> based on actual requirements, not guesses, is easy.

IMHO: the trust grants certain extra rights for the use of "code 
components". To qualify as such, the specific text either needs to be in 
a white-listed language (and that white-list is being revised from time 
to time), or clearly marked as such. *One* way to do so is to insert the 
"<CODE BEGINS>" / "<CODE ENDS>" brackets.

To me this indicates that it would be good to have a flag on 
<sourcecode> which triggers exactly that; it would allow the display of 
the brackets in formats other than TXT to be less intrusive.

Example: 
<http://greenbytes.de/tech/webdav/rfc2629xslt/testcase.html#code.components>

Best regards, Julian