4.6.1 Names vs. Paths

A “name” in this specification is a path element without any square-bracket index. For example, myapp:paragraph is a name and a valid relative path (of depth 1) whereas, myapp:paragraph[3] is not a name, it is only a relative path.

Names and paths are not simply strings with certain syntax. They have special semantics in that they respect the namespace mappings of the current Session (see 6.3 Namespaces). The special property types NAME and PATH are provided to enable the storage of these values in the repository in a namespace-sensitive way (see 6.2.5 Property Types as well as 4.7 Properties, immediately below).