Example: Source path

Source OCM                         Destination OCM
A {1,1} (|)                               X {1,1} (|)
     B {1,1} (,)                                   B {1,1} (,)
          C {1,1} (|)                                  0 {1,-1} (,)
               #text                                           C {1,1} (|)
          D{1,1} (|)                                             #text
               #text                                           D {1,1} (|)
                                                                          #text

If the PATHCOPY is from A.B in the source to X.B in the destination, then the working paths to match are B.C.#text and B.D.#text. The path does not start from the root of the message, only from the root of the sub-tree referenced by the PATHCOPY source path.

For path compatibility, each component of the path must have a matching node in the destination OCM tree. For a path component to match, it must have the same name and be the same type, choice or sequence, as the corresponding source node. The permissible repetitions may differ. A path may also be compatible if two nodes are separated by a single anonymous node in one of the OCMs.

In the previous example, the two paths are compatible. The first component in both paths is B. This matches the destination exactly. The next component in the first path is C. This matches because it is separated from the B node only by a single anonymous node. If it was separated by multiple anonymous nodes or by another element, then the path is not compatible.