From 418beee6931d3ee5b3c70b19e0dcc5653429f951 Mon Sep 17 00:00:00 2001 From: Jerven Bolleman Date: Thu, 2 May 2024 16:48:30 +0200 Subject: [PATCH] GH-54 XSD Datatype should use full IRI in rdf/xml datatype attribute --- .../src/main/java/org/biopax/paxtools/io/SimpleIOHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paxtools-core/src/main/java/org/biopax/paxtools/io/SimpleIOHandler.java b/paxtools-core/src/main/java/org/biopax/paxtools/io/SimpleIOHandler.java index 3ed7db7e..ef9eca36 100644 --- a/paxtools-core/src/main/java/org/biopax/paxtools/io/SimpleIOHandler.java +++ b/paxtools-core/src/main/java/org/biopax/paxtools/io/SimpleIOHandler.java @@ -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 + ""); } }