Deprecating Use of the "X-" Prefix in Application Protocols (IETF Draft)
tools.ietf.org
tools.ietf.org
I understand the motivation when working on something general that might eventually get formalized, but for app-locked params it still feels right to me to continue using X-.
Bram writes:
> I used an x- mimetype becaues IANA says that you should do that when your
> protocol isn't approved by them. Of course, they want everyone to get a
> mimetype without the x- approved by them eventually, which involves a
> compatibility breakage. I see no need for that pain, especially since
> collisions in the mimetype namespace never happen; One of the nice effects
> of it being a string rather than a number.
http://news.ycombinator.com/item?id=3538134
And then found this comment from SomeOtherGuy2 some 3 hours prior:
http://news.ycombinator.com/item?id=3538581
Not that I can really complain; it's good to give these drafts some visibility, but I do wonder a bit about the timing of this post.
I really wish they'd stop using it!
Though they do finalize to a plain .txt form, these days most of the IDs and RFCs are created in an XML format that the xml2rfc tool take and converts into the classic .txt, pdf, html, nroff, epub...
The primary problem with the "X-" convention is that non-standard
parameters have a tendency to leak into the protected space of
standard parameters (whether de jure or de facto), thus introducing
the need for migration from the "X-" name to the standard name.
Migration, in turn, introduces interoperability issues (and sometimes
security issues) because older implementations will support only the
"X-" name and newer implementations might support only the standard
name. To preserve interoperability, newer implementations simply
support the "X-" name forever, which means that the non-standard name
has become a de facto standard (thus obviating the need for
segregation of the name space into "standard" and "non-standard"
areas in the first place).
Also there is nothing in this proposal that would “effectively [double] the number of permutations of names they have to try”. Look at the Recommendations for Protocol Designers in section 4.employ meaningful but currently unused names
Not pretty for those who like certainty and formality, but very in tune with how things can work with global search.
"4. SHOULD identify a convention to allow local or implementation-specific extensions, and reserve delimeters for such uses as needed."
As has been mentioned by another commenter[0] these parts invite the drawing of parallels to CSS vendor prefixes.
e.g. -moz-/-ms-/etc...