Return-Path: X-Original-To: apmail-any23-dev-archive@www.apache.org Delivered-To: apmail-any23-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 64BB7119DB for ; Thu, 31 Jul 2014 14:02:15 +0000 (UTC) Received: (qmail 38439 invoked by uid 500); 31 Jul 2014 14:02:15 -0000 Delivered-To: apmail-any23-dev-archive@any23.apache.org Received: (qmail 38402 invoked by uid 500); 31 Jul 2014 14:02:15 -0000 Mailing-List: contact dev-help@any23.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@any23.apache.org Delivered-To: mailing list dev@any23.apache.org Received: (qmail 38243 invoked by uid 99); 31 Jul 2014 14:02:15 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 Jul 2014 14:02:15 +0000 Date: Thu, 31 Jul 2014 14:02:15 +0000 (UTC) From: "stephane corlosquet (JIRA)" To: dev@any23.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (ANY23-229) 501 error if no triples are extracted MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/ANY23-229?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] stephane corlosquet updated ANY23-229: -------------------------------------- Description: 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 was: 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. > 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)