ISO 10303-21:2016(E)

Annex G
(Normative)

Mapping UUIDs to anchor names

G.1 Introduction

Many systems generate unique identifiers. They are usually known as Universally Unique Identifiers (UUID) or Globally Unique Identifiers (GUIDs). This annex describes how to map these identifiers into anchor names so that applications can determine when two anchors have the same UUID.

G.2 Mapping UUID names to anchor names

A UUID is a 128 bit value generated by a system.

NOTE 1      The identifiers are unique in practice, but this uniqueness is not guaranteed.

When used as an anchor name the UUID shall be encoded as prescribed in RFC 4122 (see clause 3.1.7.4). There shall be no prefix on the encoding.

NOTE 2      The RFC 4122 encoding was chosen because the dashes make it marginally easier for a person to recognize when two UUIDs have the same value and therefore represent the same identifier.

EXAMPLE

Valid representation as anchor name Source
<48a0de4c-3c6f-488f-843a-231e08125315> Generated using the Online UUID Generator at https://www.uuidgenerator.net/version4
<63309550-ce63-11e4-8830-0800200c9a66> Generated using the Online UUID Generator at http://www.famkruithof.net/uuid/uuidgen

Invalid representation Problem
<439K6> Invalid RFC 4122 encoding
<uuid:09087c40-ce64-11e4-8830-0800200c9a66> Encoding must not include a prefix

© ISO 2016 — All rights reserved