[
https://issues.apache.org/jira/browse/ANY23-308?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16056505#comment-16056505
]
ASF GitHub Bot commented on ANY23-308:
--------------------------------------
Github user lewismc commented on the issue:
https://github.com/apache/any23/pull/38
Hi @jgrzebyta this is when I attempt build the source project from top
level directory
```
$ mvn clean test
...
Results :
Tests in error:
EmbeddedJSONLDExtractorTest.testEmbeddedJSONLDInHead:30->AbstractExtractorTestCase.assertExtract:223->AbstractExtractorTestCase.assertExtract:210
» Runtime
EmbeddedJSONLDExtractorTest.testSeveralEmbeddedJSONLDInHead:37->AbstractExtractorTestCase.assertExtract:223->AbstractExtractorTestCase.assertExtract:210
» Runtime
Tests run: 394, Failures: 0, Errors: 2, Skipped: 15
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Any23 ....................................... SUCCESS [
0.792 s]
[INFO] Apache Any23 :: Base API ........................... SUCCESS [
1.575 s]
[INFO] Apache Any23 :: Test Resources ..................... SUCCESS [
0.191 s]
[INFO] Apache Any23 :: Utilities .......................... SUCCESS [
1.018 s]
[INFO] Apache Any23 :: Mime Type Detection ................ SUCCESS [
2.081 s]
[INFO] Apache Any23 :: Encoding Detection ................. SUCCESS [
0.883 s]
[INFO] Apache Any23 :: Core ............................... FAILURE [
8.565 s]
[INFO] Apache Any23 :: CLI ................................ SKIPPED
[INFO] Apache Any23 :: Plugins :: Basic Crawler ........... SKIPPED
[INFO] Apache Any23 :: Plugins :: HTML Scraper ............ SKIPPED
[INFO] Apache Any23 :: Plugins :: Office Scraper .......... SKIPPED
[INFO] Apache Any23 :: Plugins :: Integration Test ........ SKIPPED
[INFO] Apache Any23 :: Service ............................ SKIPPED
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
```
The test results are as follows
```
-------------------------------------------------------------------------------
Test set: org.apache.any23.extractor.html.EmbeddedJSONLDExtractorTest
-------------------------------------------------------------------------------
Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 1.524 sec
<<< FAILURE! - in org.apache.any23.extractor.html.EmbeddedJSONLDExtractorTest
testEmbeddedJSONLDInHead(org.apache.any23.extractor.html.EmbeddedJSONLDExtractorTest)
Time elapsed: 1.141 sec <<< ERROR!
java.lang.RuntimeException: org.apache.any23.extractor.ExtractionException:
Error while parsing RDF document.
at
org.apache.any23.extractor.html.EmbeddedJSONLDExtractorTest.testEmbeddedJSONLDInHead(EmbeddedJSONLDExtractorTest.java:30)
Caused by: org.apache.any23.extractor.ExtractionException: Error while
parsing RDF document.
at
org.apache.any23.extractor.html.EmbeddedJSONLDExtractorTest.testEmbeddedJSONLDInHead(EmbeddedJSONLDExtractorTest.java:30)
Caused by: org.eclipse.rdf4j.rio.RDFParseException: Could not parse JSONLD
at
org.apache.any23.extractor.html.EmbeddedJSONLDExtractorTest.testEmbeddedJSONLDInHead(EmbeddedJSONLDExtractorTest.java:30)
Caused by: com.github.jsonldjava.core.JsonLdError: loading remote context
failed: http://json-ld.org/contexts/person.jsonld
at
org.apache.any23.extractor.html.EmbeddedJSONLDExtractorTest.testEmbeddedJSONLDInHead(EmbeddedJSONLDExtractorTest.java:30)
testSeveralEmbeddedJSONLDInHead(org.apache.any23.extractor.html.EmbeddedJSONLDExtractorTest)
Time elapsed: 0.383 sec <<< ERROR!
java.lang.RuntimeException: org.apache.any23.extractor.ExtractionException:
Error while parsing RDF document.
at
org.apache.any23.extractor.html.EmbeddedJSONLDExtractorTest.testSeveralEmbeddedJSONLDInHead(EmbeddedJSONLDExtractorTest.java:37)
Caused by: org.apache.any23.extractor.ExtractionException: Error while
parsing RDF document.
at
org.apache.any23.extractor.html.EmbeddedJSONLDExtractorTest.testSeveralEmbeddedJSONLDInHead(EmbeddedJSONLDExtractorTest.java:37)
Caused by: org.eclipse.rdf4j.rio.RDFParseException: Could not parse JSONLD
at
org.apache.any23.extractor.html.EmbeddedJSONLDExtractorTest.testSeveralEmbeddedJSONLDInHead(EmbeddedJSONLDExtractorTest.java:37)
Caused by: com.github.jsonldjava.core.JsonLdError: loading remote context
failed: http://json-ld.org/contexts/person.jsonld
at
org.apache.any23.extractor.html.EmbeddedJSONLDExtractorTest.testSeveralEmbeddedJSONLDInHead(EmbeddedJSONLDExtractorTest.java:37)
```
> Adding option "-d" to yaml file parsing gives error
> ---------------------------------------------------
>
> Key: ANY23-308
> URL: https://issues.apache.org/jira/browse/ANY23-308
> Project: Apache Any23
> Issue Type: Bug
> Components: rover
> Affects Versions: 2.0
> Reporter: Jacek
> Assignee: Jacek
> Priority: Minor
> Fix For: 2.1
>
>
> Command
> {code:none}
> any23 rover -e yaml -d "urn:test#" -f turtle some_yaml_file.yaml
> {code}
> gives `No suitable extractors found`.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)