Skip to content

Commit

Permalink
GH-54 XSD Datatype should use full IRI in rdf/xml datatype attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
JervenBolleman committed May 2, 2024
1 parent 8d9fd8c commit 418beee
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -666,7 +666,7 @@ private void writeStatementFor(BioPAXElement bean, PropertyEditor editor, Object
{
String type = findLiteralType(editor);
String valString = escapeXml(value.toString());
out.write(" rdf:datatype = \"xsd:" + type + "\">" + valString +
out.write(" rdf:datatype = \"http://www.w3.org/2001/XMLSchema#" + type + "\">" + valString +
"</" + prop + ">");
}
}
Expand Down

0 comments on commit 418beee

Please sign in to comment.