Github user xristy commented on a diff in the pull request:
https://github.com/apache/jena/pull/320#discussion_r154380929
--- Diff:
jena-text/src/main/java/org/apache/jena/query/text/TextQueryPF.java ---
@@ -347,11 +352,15 @@ private StrMatch objectToStruct(PropFuncArg
argObject, boolean executionTime) {
log.warn("Text query string is not a literal " + list) ;
return null ;
}
-
- if (x.getLiteralDatatype() != null &&
!x.getLiteralDatatype().equals(XSDDatatype.XSDstring)) {
--- End diff --
Thank you for the tips. I tried to avoid changing code that was present. I
plan to raise another issue or two in jena-text and will be glad to visit some
of these cases to try and use RDF functionality rather than bare Java
functionality. It certainly will make the code clearer.
---