[
https://issues.apache.org/jira/browse/JENA-1367?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16064953#comment-16064953
]
ASF GitHub Bot commented on JENA-1367:
--------------------------------------
Github user asfgit closed the pull request at:
https://github.com/apache/jena/pull/266
> Property function apf:strSplit is not well-behaved
> --------------------------------------------------
>
> Key: JENA-1367
> URL: https://issues.apache.org/jira/browse/JENA-1367
> Project: Apache Jena
> Issue Type: Bug
> Affects Versions: Jena 3.3.0
> Reporter: Richard Cyganiak
> Priority: Minor
>
> The property function apf:strSplit is not well-behaved in cases where it's
> invoked on node types other than the obvious case (subject is variable,
> object is list of two literals). For example:
> {code}
> ?x apf:strSplit (?unbound "some regex")
> {code}
> Assuming {{?unbound}} is an unbound variable, this should simply not match,
> but throws a {{NotLiteralException}}.
> {code}
> "foo" apf:strSplit ("foo;bar" ";")
> {code}
> This should presumably evaluate to true, but evaluates to false (the property
> function itself throws ExprEvalException).
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)