Julian Reschke wrote:


How about this:

"The only comparison method Atom Processors MUST support is character-by-character comparison [RFC3986].
Atom Processors MAY perform additional scheme-specific comparisions."


If an Atom processor MUST support char-by-char, what would be the point of supporting anything else? One comparison method should be enough, shouldn't it?

If you do this:

  http://Example.org/thing
  http://example.org/thing

You cannot count on a positive or negative, and you are sloppy.


Why can't I count on the result, if the spec says I can? (not that I would recommend to do that in the real world)


Um, the spec doesn't say you can. If the comparision is done with URI.equals(), it will be positive. If it is done with String.equals(), it will be negative. That text is a refelection of reality.

Robert Sayre



Reply via email to