- From: Matthew Perry <matthew.perry@oracle.com>
- Date: Tue, 04 Oct 2011 11:16:47 -0400
- To: Andy Seaborne <andy.seaborne@epimorphics.com>
- CC: W3C SPARQL Working Group <public-rdf-dawg@w3.org>
Thanks Andy. I also noticed that multiple BASE declarations are allowed in 1.1: Prologue ::= ( BaseDecl | PrefixDecl )* Is this intentional? Only one BASE declaration was allowed in 1.0: Prologue ::= BaseDecl? PrefixDecl* Cheers, Matt On 9/28/2011 5:30 PM, Andy Seaborne wrote: > Looks like a bug to me. > > I've made a note in rq25 (editors draft) so it does not get lost: > > http://www.w3.org/2009/sparql/docs/query-1.1/rq25.xml#editors-notes > > and added it to > > http://www.w3.org/2009/sparql/wiki/PostLastCall > > Thanks > Andy > > On 28/09/11 14:14, Matthew Perry wrote: >> Hi Andy, >> >> I was working on a SPARQL 1.1 parser and noticed that this filter did >> not parse: >> >> FILTER(3+3+4*5*2*3=126) >> >> I believe there is a problem with the AdditiveExpression production: >> >> AdditiveExpression ::= MultiplicativeExpression ( '+' >> MultiplicativeExpression | '-' MultiplicativeExpression | ( >> NumericLiteralPositive | NumericLiteralNegative ) ( ( '*' >> UnaryExpression ) | ( '/' UnaryExpression ) )? )* >> >> I think >> ( ( '*' UnaryExpression ) | ( '/' UnaryExpression ) )*?* >> should be >> ( ( '*' UnaryExpression ) | ( '/' UnaryExpression ) )*** >> >> Of course, I could have made a mistake somewhere else to cause the >> problem too. >> >> Thanks, >> Matt >
Received on Tuesday, 4 October 2011 15:17:21 UTC