[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: parsing and comparing URIs



McDonald, Ira wrote:
Hi Phil, Andy, et al,

Fine - do no normalization, but expect breakage unless
you have very fine-grained control of your tools chain.


-----

6.2.1. Simple String Comparison

If two URIs, when considered as character strings, are identical, then it is safe to conclude that they are equivalent. This type of equivalence test has very low computational cost and is in wide use in a variety of applications,
particularly in the domain of parsing.

------

I don't see why we have to do normalization, except to
support obscure encodings of capability URIs, which
nobody wants to do.  Even if an agent developer was crazy
enough to use these encodings, it would still be safe for
a manager to use the full string (provided by the agent vendor)
for comparison.

Andy


--
to unsubscribe send a message to netconf-request@ops.ietf.org with
the word 'unsubscribe' in a single line as the message text body.
archive: <http://ops.ietf.org/lists/netconf/>