[ 
https://issues.apache.org/jira/browse/JENA-1367?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16064952#comment-16064952
 ] 

ASF subversion and git services commented on JENA-1367:
-------------------------------------------------------

Commit c2a8abd51395aabb84b8b1b69ca650799fa71613 in jena's branch 
refs/heads/master from [~andy.seaborne]
[ https://git-wip-us.apache.org/repos/asf?p=jena.git;h=c2a8abd ]

JENA-1367: Use Util.isSimpleString.

> 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)

Reply via email to