6.3.4 Internal Storage of Names and Paths

Note that the names of nodes and properties must be stored internally in such a way that when accessed they will reflect the current namespace mapping. One way of achieving this is to store them internally using fully qualified names and, upon access, dynamically produce the correct prefixed name or path based on the current mapping. Other mechanisms may also be used to achieve the same result.

Similarly, all properties of type NAME or PATH must also dynamically reflect the current mapping. All accesses to the values of these properties should shield the client from the raw fully-qualified name and translate the value using the currently mapped prefix (see 6.2.5.2 Name and 6.2.5.3 Path).