Skip to content

Commit

Permalink
Fix RdfLiteralImpl.toString() datatype serialization
Browse files Browse the repository at this point in the history
  • Loading branch information
filip26 committed Feb 20, 2024
1 parent 8712b32 commit e02cf9a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/com/apicatalog/rdf/impl/RdfLiteralImpl.java
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,9 @@ public String toString() {
builder.append(langTag);

} else if (dataType != null && !XsdConstants.STRING.equals(dataType)) {
builder.append("^^");
builder.append("^^<");
builder.append(dataType);
builder.append('>');
}

return builder.toString();
Expand Down

0 comments on commit e02cf9a

Please sign in to comment.