2 ms·
The people at the W3 who believe CSS-property vendor-prefixes are a good idea and the people at the IETF who believe HTTP-header X-prefixes are a bad idea shoul
by saurik 15y ago
The people at the W3 who believe CSS-property vendor-prefixes are a good idea and the people at the IETF who believe HTTP-header X-prefixes are a bad idea should get together and have a good long discussion about this, as they honestly seem to be two attempts to solve the same underlying problem in extremely similar ways that cause nearly identical issues when these identifiers are on a track to being included in a subsequent standard.
Deprecating Use of the "X-" Prefix in Application Protocols (IETF Draft)
-- https://news.ycombinator.com/item?id=3539663 https://news.ycombinator.com/item?id=3539663
(edit, from W3 discussion:) "dbaron: Email headers with X-. Supposed to be experimental. But the world still works."
- saurik 15y agoI'd love some explanation as to why someone downvoted this comment. Not only is the X- prefix draft topical on Hacker News (as it was less than a week ago that it first got posted here, despite having been published in 2011), but it is from another standards body that is addressing the same underlying issue as this link to the W3. As an example of how the content has severe overlap: IETF: "Creators of new parameters to be used in the context of application protocols: 1. SHOULD assume that all parameters they create might become standardized, public, commonly deployed, or used across multiple implementations." W3: "Steve: Suggest that group establish a goal that members who introduce experimental properties submit a description to the WG" IETF: "Although in theory the "X-" convention was a good way to avoid collisions (and attendant interoperability problems) between standard parameters and non-standard parameters, in practice the benefits have been outweighed by the costs associated with the leakage of non-standard parameters into the standards space." W3: "tantek: Once it's on the open Web, it's not proprietary...it can be considered experimental, but claiming it is proprietary-only is inaccurate ... plinss: Thing we need to spend some energy minimizing the escape of prefixes into the wild" IETF: "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." W3: "tantek: One possible proposal is to only parse other vendors' prefixes in conjunction with parsing unprefixed. e.g. with -webkit-transform. We wouldn't parse that until we also parse transform. Thereby giving authors option to just use unprefixed, hopefully biasing new authors to using that instead." IETF: "Furthermore, often standardization of a non-standard parameter or protocol element leads to subtly different behavior (e.g., the standard version might have different security properties as a result of security review provided during the standardization process). If implementers treat the old, non-standard parameter and the new, standard parameter as equivalent, interoperability and security problems can ensue." W3: "macpherson: If we change the spec after implementation, you'll need to return the value in the old form as a prefix. ... szilles: What do you do if the values changed between property versions? alexmog: We'll adjust the output to match the syntax of the given version. Rossen: I don't think that's right. Today we only have aliases." IETF: "We have already seen this phenomenon at work with regard to FTP in the quote from [RFC1123] in the previous section. The HTTP community had the same experience with the "x-gzip" and "x-compressed" media types, as noted in [RFC2068]:" W3: "glazou: [clarifies his understanding, and asks about prefixed values as well] ... florian: Now, for prefixed values. I say just return the one you got. plinss: Agreed. TabAtkins: Agreed."