You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "Andy Seaborne (JIRA)" <ji...@apache.org> on 2017/06/27 14:55:00 UTC
[jira] [Resolved] (JENA-1367) Property function apf:strSplit is not
well-behaved
[ https://issues.apache.org/jira/browse/JENA-1367?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andy Seaborne resolved JENA-1367.
---------------------------------
Resolution: Done
Assignee: Andy Seaborne
Fix Version/s: Jena 3.4.0
> 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
> Assignee: Andy Seaborne
> Priority: Minor
> Fix For: Jena 3.4.0
>
>
> 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)