HL7 / kindling

FHIR Publisher
Other
4 stars 11 forks source link

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

Open jduteau opened 1 year ago

jduteau commented 1 year ago

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.