3 ms·
What I mean about ASN.1 is that if you have a field foo that's defined as foo SEQUENCE { corge INTEGER, grault OBJECT IDENTIFIER } you can't compatibly au
by kragen 7y ago
What I mean about ASN.1 is that if you have a field foo that's defined as
foo SEQUENCE { corge INTEGER, grault OBJECT IDENTIFIER }
you can't compatibly augment it with a new field quux as
foo SEQUENCE { corge INTEGER, grault OBJECT IDENTIFIER, quux OBJECT IDENTIFIER }
and it doesn't help you at all that grault and quux are both OBJECT IDENTIFIERs.
Which HTML tag names had collisions? I can't think of any at the moment, but admittedly I'm no HTML expert, though I've been reading HTML specs since HTML+ and before.
I'm more interested in problems not happening than on having someone to blame the problems on.
- tialaramex 7y ago<cite> is the canonical HTML tag collision. WHATWG and W3C defined this differently. In practice as so often in the Web it's resolved by a mixture of just accepting everything and so nobody gets what they wanted, and by semantics of the document being ignored anyway. Yes, you're correct that you can't just shove arbitrary things into ASN.1 in this way and so ASN.1 itself is arguably not where the extensibility is, that's fair.
- kragen 7y agoThanks for the note on <cite>! I don't think that's actually a collision; <cite> was in HTML 2, so there wasn't much time for people to start using it in conflicting ways. What happened with <cite> was that, for about four years, Hixie published a changed definition in the HTML5 spec, one which didn't allow citing people's names, just the titles of their works. This attempted change was eventually reverted. The URL-based and OID-based extensibility mechanisms we're discussing don't even attempt to prevent such problems. What I mean by "collision" is something like the following: one person (say, Hixie) defines <c> in their browser or stylesheet to mean "canonical name" while another person (say, the W3C) defines <c> to mean "category", resulting in problems when you try to view documents written for one browser using the other browser. I don't know of anything like this having happened in HTML, ever.