[ https://issues.apache.org/jira/browse/ANY23-229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14086981#comment-14086981 ]
ASF GitHub Bot commented on ANY23-229: -------------------------------------- Github user lewismc commented on the pull request: https://github.com/apache/any23/pull/8#issuecomment-51275247 commit 2ad518bfc500ad831b2d3bae6bf79326df3daa14 Author: scor <scorlosq...@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 > 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)