Local include seems to be broken
Closed this issue · 1 comments
Siltyx commented
Hi,
When i try to compile a schema using a local includes i get an error.
including schema at /opendrive_16_junction.xsd
Then it says Download failed, unknown protocol ""
As a hotfix, i inserted:
target = url.toString();
target.remove(0,1); //remove / at the beginning
return true;
at the beginning of bool FileProvider::get(const QUrl &url, QString &target)
This seems to work.
So i guess local paths are mistaken for urls?!?
Kind regards,
Sebastian
martonmiklos commented
Well on Linux the "/opendrive_16_junction.xsd" could be a valid file path. Can you post the problematic XSD?