Imagine a source node (say X). Obviously whenever required the generated value for source node will be reused even if this is requested in different mappings.
However, this is not true when in one mapping we will assign a variable to the generated value. This will create a new URI/UUID for the same source node.
The files for re-producing the issue are attached
generator_policy.xml.txt
input.xml.txt
mappings.x3ml.txt