The document URI creation calls a constructor that accepts preformed path only, and with give it a file path instead.
The patch should fix it by converting the path to a real URI directly (with the from_native_filename() function available in uri.cpp).
Patch attached.
The document URI creation calls a constructor that accepts preformed path only, and with give it a file path instead. filename( ) function available in uri.cpp).
The patch should fix it by converting the path to a real URI directly (with the from_native_