incubator-any23-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lewis John McGibbney (JIRA)" <>
Subject [jira] [Closed] (ANY23-91) NQuadsParser does not fail on prefixed datatypes
Date Mon, 25 Jun 2012 16:53:47 GMT


Lewis John McGibbney closed ANY23-91.

Bulk close for 0.7.0-incubating release
> NQuadsParser does not fail on prefixed datatypes
> ------------------------------------------------
>                 Key: ANY23-91
>                 URL:
>             Project: Apache Any23
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 0.7.0
>            Reporter: Peter Ansell
> The NQuadsParser should not parse either of the following lines into a Statement, but
instead it should throw an error:
> <> <> "yyy"^^xsd:datetime <>
> <> <> "yyy"^^xsd:datetime .
> The second statement is valid N3/Turtle as long as the prefix is defined before hand,
but the first statement is not valid in any of the Nx languages.
> The bug is inside of parseLiteralAttribute, where there is no validation that the URI
actually started. It may also be a good chance to cleanup this method as it currently tries
to parse languages and datatype URIs in the same code which makes it difficult to patch as
URIs don't look like language tags.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message