Uploaded image for project: 'Apache Any23 (Retired)'
  1. Apache Any23 (Retired)
  2. ANY23-92

NQuadsParser does not require whitespace between elements

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • None
    • 2.0
    • nquads
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ansell Peter Ansell
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: