Skip to content

Commit

Permalink
skip XMLLiteral validation
Browse files Browse the repository at this point in the history
  • Loading branch information
litvinovg committed May 23, 2024
1 parent 8b2c06c commit d753b2a
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,9 @@ public static synchronized String validateAgainstDatatype( String value, String
if ( datatype == null ) {
throw new RuntimeException( datatypeURI + " is not a recognized datatype");
}
if ("http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral".equals(datatypeURI)) {
return null;
} else
if ( datatype.isValid(value) ) {
return null;
} else {
Expand Down

0 comments on commit d753b2a

Please sign in to comment.