[
https://issues.apache.org/jira/browse/JENA-925?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rob Vesse updated JENA-925:
---------------------------
Description:
{noformat}
new SelectBuilder()
.addPrefix( "afn", "http://jena.hpl.hp.com/ARQ/function#")
.addVar( "?s" )
.addVar( "?o")
.addVar( "?value")
.addWhere( "?s", "?p", "?o")
.addFilter("(afn:namespace(?node) = 'namespace') and (afn:localname(?node) !=
'localname')");
{noformat}
fails with a NPE because the prologue in the internally used SPARQLParser11 is
not set.
No known work around exists.
was:
new SelectBuilder()
.addPrefix( "afn", "http://jena.hpl.hp.com/ARQ/function#")
.addVar( "?s" )
.addVar( "?o")
.addVar( "?value")
.addWhere( "?s", "?p", "?o")
.addFilter("(afn:namespace(?node) = 'namespace') and (afn:localname(?node) !=
'localname')");
fails with a NPE because the prologue in the internally used SPARQLParser11 is
not set.
No known work around exists.
> QueryBuilder (Extrascomponent) does not handle namespaces in filters.
> ---------------------------------------------------------------------
>
> Key: JENA-925
> URL: https://issues.apache.org/jira/browse/JENA-925
> Project: Apache Jena
> Issue Type: Bug
> Components: Jena
> Affects Versions: Jena 2.13.0, Jena 2.13.1, Jena 3.0.0
> Environment: all
> Reporter: Claude Warren
> Assignee: Claude Warren
> Priority: Minor
> Original Estimate: 3h
> Remaining Estimate: 3h
>
> {noformat}
> new SelectBuilder()
> .addPrefix( "afn", "http://jena.hpl.hp.com/ARQ/function#")
> .addVar( "?s" )
> .addVar( "?o")
> .addVar( "?value")
> .addWhere( "?s", "?p", "?o")
> .addFilter("(afn:namespace(?node) = 'namespace') and (afn:localname(?node) !=
> 'localname')");
> {noformat}
> fails with a NPE because the prologue in the internally used SPARQLParser11
> is not set.
> No known work around exists.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)