Visual RFC.
ALL RFCs / RFC 8141
Read the RFC ↗
RFC 8141 / UNIFORM RESOURCE NAMES

Compare names without decoding them

03

Generic URN-equivalence compares assigned names after specific case normalization. It deliberately does not decode percent-encoded characters.

RFC 8141 · § 3.1EXAMPLE
4 / 4
04
Keep a literal comma distinct from %2C.

urn:example:a123,z456 is not generically URN-equivalent to urn:example:a123%2Cz456. Similarly, ordinary NSS letter case and slash suffixes remain significant unless namespace rules add equivalence.

Compare names without decoding themurn:example:a123,z456 is not generically URN-equivalent to urn:example:a123%2Cz456. Similarly, ordinary NSS letter case and slash suffixes remain significant unless namespace rules add equivalence.Do not decode the percent tripletInput Aurn:example:a123,z456Input Burn:example:a123%2Cz456compare normalized assigned namesA key: urn:example:a123,z456B key: urn:example:a123%2Cz456Literal comma ≠ encoded %2CNOT GENERICALLY URN-EQUIVALENT

Source for this drawing: RFC 8141 · Read RFC section 3.1 ↗

Protocol participantThreat or exceptionProtocol controlSimplified drawings · precise section references
New to this? Start hereA quick picture + helpful background

A message needs an address.

Think of a packet as a small addressed envelope. Devices pass it onward; transport protocols decide what delivery promises an application gets.

Helpful first, if these ideas are unfamiliar

These pictures are analogies to help you learn. The linked RFC explains the actual rules.

Related RFCs and changes

“Updates” changes part of an earlier RFC. “Obsoletes” replaces it. This list shows selected related documents.

KEY POINT

Lowercase the scheme and NID; preserve NSS letters and encoded bytes.

  • Compare the assigned-name portions octet by octet after lowercasing urn and the NID, and uppercasing A–F in percent triplets within the NSS.
  • Percent-encoded characters MUST NOT be decoded for this comparison. Optional r-, q- and f-components MUST be ignored when determining URN-equivalence.
  • Namespace definitions MAY add equivalence rules that remove false negatives, but MUST NOT turn a pair equivalent by the generic procedure into a nonequivalent pair. NSS case and slashes otherwise remain significant.
DETAILS

Equal names do not imply equal full requests, equal fragments, current availability or authorization. The published examples use the example namespace. Generic URI normalization that decodes an unreserved character is not this URN-specific algorithm; visually similar Unicode strings can also remain different.

Read the RFC section ↗

All chapters in RFC 8141

Drawing view

Scroll the drawing to see every part. Playback controls stay above it.

RFC 9700 / CHAPTERS

Chapters

For full details, tables, algorithms, and exceptions, read the original RFC.

RFC status and corrections ↗