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.
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.