joshsh/sesametools — pull request #31 by ansell (2012-08-16 01:05:58+00:00)
Title: Rebase NQuads parser and writer based on current Sesame NTriples parser and writer

This pull request contains code that rebases the Sesame NQuads parser and writer on the current Sesame NTriples parser and writer, with some minor changes to the current NTriples parser to switch some variables and methods from private to protected.

It also adds tests from Any23 that were authored by Michele Mostarda to test the parser against the the NQuads specification.

After this pull request the SesameTools NQuads parser/writer should be basically done and ready to push into Sesame Rio as an officially distributed Rio NQuads parser and writer, once the CLAs are organised. The current Rio NTriples parser will have the relevant variables and methods switched from private to protected when the code is pushed into Sesame Rio so that the ModifiedNTriplesParser class is no longer needed.