Skip to content
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

RDF creation fails on Windows machines with \G in path #109

Open
jduteau opened this issue Dec 21, 2022 · 0 comments
Open

RDF creation fails on Windows machines with \G in path #109

jduteau opened this issue Dec 21, 2022 · 0 comments

Comments

@jduteau
Copy link

jduteau commented Dec 21, 2022

Windows machines use '' as separators and that can cause errors if there is a G in the path (i.e. ...\Github\fhir...).

Code in FhirTurtleGenerator.java:
.addObjectProperty(OWL2.versionIRI, ResourceFactory.createResource(host+"fhir.ttl"))

and W5TurtleGenerator.java:
w5.addProperty(OWL2.versionIRI, host+"w5.ttl");

throws exceptions because the host variable has a \G value in it which is being interpreted as an escape value.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant