History | Log In     View a printable version of the current page. Get help!  
Issue Details [XML]

Key: RIO-52
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Arjohn Kampman
Reporter: Ryan Lee
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Rio

Lack of whitespace following bracket character results in error

Created: 23/Aug/06 10:09 PM   Updated: 05/Jul/07 11:13 AM
Component/s: Turtle parser
Affects Version/s: 1.0.9, 1.0.8, 1.0.7, 1.0.6, 1.0.5, 1.0.4, 1.0.3, 1.0.2, 1.0.1
Fix Version/s: 1.0.10

Environment: Sesame 2.0 alpha 3, recompiled for JRE1.4


 Description   
[:foo :bar;] throws an error while [ :foo :bar;] does not:

Fatal error: Expected an RDF value here, found ';' at (file) [(line number), -1]

The error varies according to whatever the parser concludes is happening when '[' is considered part of a character sequence. The Turtle EBNF appears to specify 0-or-more whitespace characters here:

blank ::= nodeID | '[]' | '[' ws* predicateObjectList ws* ']' | collection


 All   Comments   Change History      Sort Order:
Comment by Arjohn Kampman [24/Aug/06 10:37 AM]
The Turtle parser forgot to unread the character directly following the '[' character that was read to check for empty blank nodes ("[]").