RFC 2738
Corrections to "A Syntax for Describing Media Feature Sets"
RFC 2738 ๐ Corrections to "A Syntax for Describing Media Feature Sets" ๐
Author: G. Klyne (Content Technologies) โจ Date: December 1999 ๐๏ธ Category: Standards Track ๐ Updates: RFC 2533 ๐ฅ Obsoletes: nothing, this is a patch, not a replacement ๐ฉน
Status of this Memo ๐ฃ
okay so this is an Internet standards track protocol doc for the Internet community, and it's basically asking everyone to discuss it and suggest improvements ๐ซถ for the official standardization state of this protocol, check the current edition of "Internet Official Protocol Standards" (STD 1). distribution of this memo is unlimited, so share away ๐ฆ
Copyright Notice ๐ธ
Copyright (C) The Internet Society (1999). All Rights Reserved. ๐
Abstract โจ
so RFC 2533, "A Syntax for Describing Media Feature Sets", gives us an expression format for describing media feature capabilities using simple media feature tags. this memo is two corrections to that spec ๐ง one fixes a bug in the formal syntax, and the other fixes a bug in the rules for reducing feature comparison predicates. bestie, it's a tidy-up ๐งน
Table of Contents ๐๏ธ
1. Introduction ............................................2
1.1 Terminology and document conventions 2
1.2 Discussion of this document 2
2. Correction to feature expression syntax .................3
3. Correction to feature set matching reduction rules ......3
4. Security Considerations .................................4
5. References ..............................................4
6. Author's Address ........................................4
7. Full Copyright Statement ................................5
1. Introduction ๐
okay so RFC 2533, "A Syntax for Describing Media Feature Sets" [1], presents an expression format for describing media feature capabilities using simple media feature tags ๐ it gives message handling agents a way to describe the media feature content of messages they can handle. that memo also has an algorithm for finding the common capabilities shared by two different feature expressions, which is giving main character energy ๐
this memo is two corrections to that spec: one fixes an error in the formal syntax, and the other fixes an error in the feature set matching algorithm, specifically the rules for reducing feature comparison predicates ๐ฅ
the first correction changes the normative content of RFC 2533, and the second changes non-normative content, so you know which one is the real rule-change ๐
1.1 Terminology and document conventions ๐
this spec uses the syntax notation and conventions from RFC 2234, "Augmented BNF for Syntax Specifications: ABNF" [2] ๐ง
NOTE: Comments like this provide additional nonessential information about the rationale behind this document. Such information is not needed for building a conformant implementation, but may help those who wish to understand the design in greater depth. ๐
1.2 Discussion of this document ๐ฌ
discussion of this doc should happen on the content negotiation and media feature registration mailing list hosted by the Internet Mail Consortium (IMC) ๐ซถ
send your comments to:
ietf-medfree@imc.org
to subscribe, send a message with the body 'subscribe' to:
ietf-medfree-request@imc.org
to catch up on what happened before you joined, check the mailing list archive at:
http://www.imc.org/ietf-medfree/
2. Correction to feature expression syntax ๐ฉท
in section 4.1, RFC 2533 defines the syntax for a "set" expression like this:
set = attr "=" "[" setentry *( "," setentry ) "]"
setentry = value "/" range
the production for 'setentry' should read:
setentry = value / range
so the '/' character is not a character literal. it separates two alternative forms for 'setentry' ๐ฆ this fixed syntax makes the set expression examples in section 4.2.5 of RFC 2533 work, like:
( width=[3,4,6..17/2] )
3. Correction to feature set matching reduction rules ๐
in section 5.8.2, "Rules for simplifying unordered values", RFC 2533 lists these rewriting rules for simplifying feature tag comparisons with unordered values ๐ง
(LE f a) (LE f b) --> (LE f a), a=b
FALSE, otherwise
(LE f a) (GE f b) --> FALSE, a!=b
(LE f a) (NL f b) --> (LE f a) a!=b
FALSE, otherwise
(LE f a) (NG f b) --> (LE f a), a!=b
FALSE, otherwise
the second of these rules is incomplete, and should read:
(LE f a) (GE f b) --> (LE f a), a=b
FALSE, otherwise
NOTE: implementation experience with these rules has suggested a revised feature set matching algorithm with a more useful set of simplification rules. Apart from the change noted above, the algorithm given in RFC 2533 has been implemented and shown to work as intended, but the results generated are not always in the most convenient form. It is planned to test and publish a revised algorithm at a future date. ๐ฎ
4. Security Considerations ๐
security considerations are discussed in RFC 2533 [1] and related documents. go read those, they matter ๐
5. References ๐
[1] Klyne, G., "A Syntax for Describing Media Feature Sets", RFC 2533, March 1999.
[2] Crocker, D. and P. Overell, "Augmented BNF for Syntax Specifications: ABNF", RFC 2234, November 1997.
6. Author's Address ๐ฎ
Graham Klyne
Content Technologies Ltd.
1220 Parkview
Arlington Business Park
Theale
Reading, RG7 4SA
United Kingdom
Phone: +44 118 930 1300
Fax: +44 118 930 1301
EMail: GK@ACM.ORG
7. Full Copyright Statement ๐
Copyright (C) The Internet Society (1999). All Rights Reserved. ๐ธ
you can copy and share this document and translations of it, and you can write derivative works that comment on or explain it or help with implementing it. you can prepare, copy, publish and distribute those, in whole or in part, with no restrictions of any kind, as long as the above copyright notice and this paragraph are on all copies and derivative works. the document itself may not be modified in any way, such as by removing the copyright notice or references to the Internet Society or other Internet organizations. the exceptions are when needed to develop Internet standards, in which case the procedures for copyrights defined in the Internet Standards process must be followed, or when translating it into languages other than English. ๐
the permissions above are perpetual and will not be revoked by the Internet Society or its successors or assigns โพ๏ธ
this document and the information in it are provided on an "AS IS" basis, and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING TASK FORCE DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. โ ๏ธ
Acknowledgement ๐ซถ
funding for the RFC Editor function is currently provided by the Internet Society โจ
๐ฆ where this page comes from
- ietf: rfc2738 1999-12
- ๐ girlified by claude-haiku-5-5 on : a language model's rewrite of the original, under its terms