You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "Claude Warren (JIRA)" <ji...@apache.org> on 2016/10/15 15:14:20 UTC
[jira] [Closed] (JENA-1246) String expression parsing does not
account for prefixes in query.
[ https://issues.apache.org/jira/browse/JENA-1246?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claude Warren closed JENA-1246.
-------------------------------
Resolution: Fixed
Fixed in build 2509
> String expression parsing does not account for prefixes in query.
> -----------------------------------------------------------------
>
> Key: JENA-1246
> URL: https://issues.apache.org/jira/browse/JENA-1246
> Project: Apache Jena
> Issue Type: Bug
> Components: QueryBuilder
> Affects Versions: Jena 3.1.0
> Reporter: Claude Warren
> Assignee: Claude Warren
> Fix For: Jena 3.1.1
>
> Original Estimate: 4h
> Remaining Estimate: 4h
>
> From Todd Detwiler:
> I'm having an issue with Selectbuilder which may be an issue with the parser itself, or perhaps I've just made a mistake. I am setting a variable in a select as follows:
> addVar("SUM(xsd:integer(?V3))", "?V3SUM")
> which is throwing this exception:
> Exception in thread "main" org.apache.jena.query.QueryParseException: Line 1, column 12: Unresolved prefixed name: xsd:integer
> at org.apache.jena.sparql.lang.ParserBase.throwParseException(ParserBase.java:521)
> at org.apache.jena.sparql.lang.ParserBase.resolvePName(ParserBase.java:286)
> ..
> The prefix map contains the following:
> pm:{rdf=http://www.w3.org/1999/02/22-rdf-syntax-ns#, xsd=http://www.w3.org/2001/XMLSchema#, sdids_data=http://surveillance.mcgill.ca/km/SDIDS/sdids_data.ttl#, rdfs=http://www.w3.org/2000/01/rdf-schema#, cube=http://purl.org/linked-data/cube#}
> So, the xsd prefix is defined, but the error seems to think that xsd:integer is all a prefix?
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)