[
https://issues.apache.org/jira/browse/ANY23-229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14081869#comment-14081869
]
ASF GitHub Bot commented on ANY23-229:
--------------------------------------
GitHub user scor opened a pull request:
https://github.com/apache/any23/pull/8
ANY23-229: don't return a 501 error if no triples are extracted
https://issues.apache.org/jira/browse/ANY23-229
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/scor/any23 ANY23-229
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/any23/pull/8.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #8
----
commit 2ad518bfc500ad831b2d3bae6bf79326df3daa14
Author: scor <[email protected]>
Date: 2014-08-01T03:23:26Z
ANY23-229: don't return a 501 error if no triples are extracted
----
> 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)