Re: Whitespace in Turtle after ^^

On 01/19/2015 11:50 PM, Peter Ansell wrote:
> On 20 January 2015 at 03:54, Andy Seaborne <andy@apache.org> wrote:
>> On 19/01/15 16:35, Stian Soiland-Reyes wrote:
>>>
>>> so in general the non-terminals like RDFLiteral and
>>> predicateObjectList allow any whitespace between its tokens, right?
>>
>>
>> Yes - between the sub-rules and the terminals involved.
>>
>>> Yet Jena does not like the nasty Turtle.. :)
>>
>>
>> It does, 'cos I just fixed it :)
>>
>> JENA-852
>>
> 
> Sesame also had this issue and it will be fixed in 2.7.15:
> 
> https://openrdf.atlassian.net/browse/SES-2165

Also fixed the SWI-Prolog turtle parser (git version).  Just to be sure:
This does also allow for comments, as in

x:y x:p "hello"
#not so nice
^^
#not so nice
xsd:string .

and this also applies the @ and the ntriples and nquads formats, right?

 Cheers --- Jan

Received on Tuesday, 20 January 2015 08:32:17 UTC