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

Key: SES-655
Type: Improvement Improvement
Status: Open Open
Priority: Minor Minor
Assignee: Unassigned
Reporter: James Leigh
Votes: 0
Watchers: 0
Operations

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

TurtleParser should report BNode object statement before reporting its subject statements

Created: 19/Dec/08 12:44 AM   Updated: 19/Dec/08 12:44 AM
Component/s: Rio
Affects Version/s: None
Fix Version/s: None


 Description   
The Turtle parser reports the type and properties of implicit blank nodes before reporting what the statement of the resource that references it. This order prevents a PrettyWriter-like handler from creating a readable syntax. This can be seen in the repository manager that reads in configuration templates and writes them back out in the order the statements were parsed.

This is also a problem for writing to the federation. Since all statements of a BNodes can only exist in one members and some members maybe configured to only accept certain subject URIs, it is important to know which resources will link to the BNode before adding it to a member.

This can be fixed by changing the method parseImplicitBlank to take a BNode as a parameter and calling it after the first statement (s, p, BNode) has been reported.

 All   Comments   Change History      Sort Order:
There are no comments yet on this issue.