You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@any23.apache.org by "Peter Ansell (JIRA)" <ji...@apache.org> on 2012/05/16 02:52:06 UTC

[jira] [Created] (ANY23-92) NQuadsParser does not require whitespace between elements

Peter Ansell created ANY23-92:
---------------------------------

             Summary: NQuadsParser does not require whitespace between elements
                 Key: ANY23-92
                 URL: https://issues.apache.org/jira/browse/ANY23-92
             Project: Apache Any23
          Issue Type: Bug
            Reporter: Peter Ansell


The NQuadsParser currently does not require whitespace between elements as specified by the NQuads EBNF:

contextTriple 	::= subject ws+ predicate ws+ object ( ws+ context )? ws* '.' ws* 

ws+ indicates 1 or more whitespace characters are required between elements, while the ws* at the end indicate 0 or more whitespace characters before the period and before the end of the line.

The current NQuadsParserTest test cases have quite a few triples that do not put any whitespace between elements, so it will require patching the test case to have failing triples for each potential error, and also adding cases that have spaces and should succeed.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira