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 2013/01/03 18:02:12 UTC

[jira] [Closed] (JENA-375) varaible names may not contain a dot '.'

     [ https://issues.apache.org/jira/browse/JENA-375?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claude Warren closed JENA-375.
------------------------------


My error a dot is not allowed in the variable name.
                
> varaible names may not contain a dot '.'
> ----------------------------------------
>
>                 Key: JENA-375
>                 URL: https://issues.apache.org/jira/browse/JENA-375
>             Project: Apache Jena
>          Issue Type: Bug
>          Components: ARQ
>    Affects Versions: ARQ 2.9.4
>            Reporter: Claude Warren
>
> Variable names like ?foo.bar fail with a
> com.hp.hpl.jena.query.QueryParseException: Encountered " "." ". "" at line 1, column 32.
> Was expecting one of:
>     <IRIref> ...
>     <PNAME_NS> ...
>     <PNAME_LN> ...
>     <VAR1> ...
>     <VAR2> ...
>     "a" ...
>     "(" ...
>     "!" ...
>     "^" ...
>     
> 	at com.hp.hpl.jena.sparql.lang.ParserSPARQL11.perform(ParserSPARQL11.java:102)
> 	at com.hp.hpl.jena.sparql.lang.ParserSPARQL11.parse$(ParserSPARQL11.java:53)
> 	at com.hp.hpl.jena.sparql.lang.Parser.parse(Parser.java:37)
> 	at com.hp.hpl.jena.query.QueryFactory.parse(QueryFactory.java:156)
> 	at com.hp.hpl.jena.query.QueryFactory.create(QueryFactory.java:79)
> 	at com.hp.hpl.jena.query.QueryFactory.create(QueryFactory.java:52)
> 	at com.hp.hpl.jena.query.QueryFactory.create(QueryFactory.java:40)
> 	...
> Based on the SPARQL 1.1 Query Language (http://www.w3.org/TR/2011/WD-sparql11-query-20110512/#rVARNAME) I believe that a dot is acceptable in the variable name

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira