Skip to content

Commit

Permalink
get URL for orcID not orcIDID
Browse files Browse the repository at this point in the history
  • Loading branch information
stain committed May 23, 2013
1 parent 3fa8e0e commit 558a1d7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ public void writeTo(OrcidMessage xml, Class<?> type, Type genericType, Annotatio
// TODO: Load FOAF locally, and cached
m.setDynamicImports(true);
OrcidProfile orcidProfile = xml.getOrcidProfile();
String profileUri = orcidProfile.getOrcid().getValue();
String profileUri = orcidProfile.getOrcidId();
Ontology ont = m.createOntology(profileUri + "#");
ont.addImport(m.createResource(FOAF_0_1));
m.setNsPrefix("foaf", FOAF_0_1);
Expand Down

0 comments on commit 558a1d7

Please sign in to comment.