-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not a valid (absolute) URI Exception when trying to save to File #10
Comments
I tried on a different machine and the XMI save works. Unfortunately i still get the exact error when using an RDF ressource.
|
It works !! It seems the other computer(Mac OSX 10.9) had a problem AND you have to specify the full absolute URI:
Too bad the URI is not normalized automatically. Could you maybe update the README of the project? |
Fixed the Mac OS X issue. I specified a wrong absolute URI, forgot a second "/". This works now:
|
Maybe you should try with URI.createFileURI instead. |
Does not work, because an absolute URI is needed and URI.createFileURI() does not do that. I'm now using convertToFileURL("model/entitysupermodel.ecore") from http://stackoverflow.com/questions/3631623/convert-url-to-absolutepath Could you change the README such that it is clear one needs to input an absolute URI? I spent some hours debugging.. Anyways, awesome work with EMFTriple! |
Hello,
when trying to save the resource I encounter following exception:
The model is the one from:
This is my code (copied from the git README):
The import statements are:
I tried with different URI formats and absolute paths, but I seem to have a problem when saving to a file.
The text was updated successfully, but these errors were encountered: