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

        

Reply via email to