3.2. 示例 (Examples)
本节展示了多种 URN(使用 [RFC6963] 中定义的 "example" NID),以突出显示 URN 等价性规则。
首先,因为方案和 NID 是大小写不敏感的,以下 URN 是等价的:
urn:example:a123,z456
URN:example:a123,z456
URN:EXAMPLE:a123,z456
其次,因为 NSS 中的百分号编码必须保留(但对十六进制数字进行大小写规范化),以下 URN 不等价:
urn:example:a123,z456
urn:example:a123,z456%2d
urn:example:a123,z456%2D
第三,可选组件(r-component、q-component、f-component)在确定等价性时被忽略:
urn:example:a123,z456
urn:example:a123,z456?+abc
urn:example:a123,z456?=xyz
urn:example:a123,z456#789
所有这些 URN 都是等价的。