[redland-dev] raptor 2.0.4 : -i nquads fails to treat the context term as optional

Lauri Aalto laalto at gmail.com
Fri Nov 4 13:48:12 CET 2011


Hi,

thanks for the observation, including
http://bugs.librdf.org/mantis/view.php?id=479 . As of commit
https://github.com/dajobe/raptor/commit/3d5a49aeaeb7f05ddedf8818d97550d00268238c
, the nquads parser does not require context values to be present.

Lauri

On Sat, Oct 29, 2011 at 12:37 PM, james anderson <james at dydra.com> wrote:
> good morning;
>
> i observe the following with rapper 2.0.4:
>
> $ rapper -i nquads -o nquads - "http://example.org/" << EOF
>  > <s> <p> <o> <c> .
>  > <s> <p> <o> .
>  > EOF
> rapper: Parsing file <stdin> with parser nquads and base URI http://
> example.org/
> rapper: Serializing with serializer nquads and base URI http://
> example.org/
> <s> <p> <o> <c> .
> rapper: Error - URI http://example.org/:2 column 12 - Unexpected end
> of line
> rapper: Parsing returned 1 triple
> $ rapper -v
> 2.0.4
>
> this, although the nquads bnf indicates that the context is optional.
> is this a know issue or by intent?
> i read through the redland-dev archives going back a year but saw
> only a single report regarding serialization and no mention of
> problems parsing.
>
>
> best regards, from berlin
> ---
> james anderson | james at datagraph.org | james at dydra.com | http://
> dydra.com
>
>
>
>
> _______________________________________________
> redland-dev mailing list
> redland-dev at lists.librdf.org
> http://lists.librdf.org/mailman/listinfo/redland-dev
>


More information about the redland-dev mailing list