You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@any23.apache.org by "Lewis John McGibbney (JIRA)" <ji...@apache.org> on 2014/08/06 01:37:12 UTC

[jira] [Resolved] (ANY23-229) 501 error if no triples are extracted

     [ https://issues.apache.org/jira/browse/ANY23-229?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lewis John McGibbney resolved ANY23-229.
----------------------------------------

    Resolution: Fixed

commit 2ad518bfc500ad831b2d3bae6bf79326df3daa14
Author: scor <sc...@gmail.com>
Date:   Thu Jul 31 23:23:26 2014 -0400

    ANY23-229: don't return a 501 error if no triples are extracted

Thank you [~scor] :)

> 501 error if no triples are extracted
> -------------------------------------
>
>                 Key: ANY23-229
>                 URL: https://issues.apache.org/jira/browse/ANY23-229
>             Project: Apache Any23
>          Issue Type: Bug
>            Reporter: stephane corlosquet
>
> I found this bug when checking the RDFa test suite results. Some tests are failing because any23 returns a 501 error when it's not able to extract triples: "Extraction completed. No triples have been found." Those tests are specifically expecting no triples to be extracted, and they fail because any23 returns an error.
> I don't see any reason why this situation would trigger an error. It's fine if a document doesn't generate any triples. It's up to the consumer to deal with the lack of triples.
> The error is generated at service/src/main/java/org/apache/any23/servlet/WebResponder.java:151



--
This message was sent by Atlassian JIRA
(v6.2#6252)