The problem is not related to the fetch module. This module uses the right static context. However, the problem is that the fetch function of the XmlDataManager in the C++ api uses the root static context to fetch resources. Instead, it should use a user-provided static context. Alternatively, the fetch function could be moved into the StaticContext class itself.
The problem is not related to the fetch module. This module uses the right static context. However, the problem is that the fetch function of the XmlDataManager in the C++ api uses the root static context to fetch resources. Instead, it should use a user-provided static context. Alternatively, the fetch function could be moved into the StaticContext class itself.