Andreas Sewe wrote:
Also, where does it say that the @rel attribute is case sensitive? I couldn't find anything in RFC4287, but in HTML at least link types are definately case INsensitive [1].

Well, I guess section 4.2.7.2. states this implicitly; names registered within the IANA Registry of Link Relation ("alternate") are to be interpreted as being equivalent to an IRI (<http://www.iana.org/assignments/relation/alternate>). And the path component of IRIs is case-sensitive.

I considered that, but if you want to assume IRI comparison semantics, then does that mean a link type of "%61lternate" is equivalent to "alternate" too? Or what about "HTTP://www.IANA.org:80/assignments/relation/alternate"?

Logically I would assume the simple string comparison in section 5.3.1 of RFC3987, but I was hoping this would be documented somewhere more explicitly. An atom:id is an IRI too, but it explicitly specifies character-by-character, case-sensitive comparisons. By not doing the same for link relations the spec kind of leaves things open to interpretation.

But the test cases should IMHO not test whether "ALTERNATE" works, since it should not, but whether "http://www.iana.org/assignments/relation/alternate"; does.

That's what the first test case is supposed to be doing.

Regards
James

Reply via email to