any23-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ferrerod <...@git.apache.org>
Subject [GitHub] any23 issue #60: ANY23-291 Allow JSONLD scripts to be located anywhere in do...
Date Fri, 09 Feb 2018 20:28:46 GMT
Github user ferrerod commented on the issue:

    https://github.com/apache/any23/pull/60
  
    @HansBrende @lewismc: Today, I cloned master and tried to build: mvn clean install and
the core build is failing. I also saw code commented out in the run method that would have
written out the triples:
    
        for (JSONLDScript jsonldScript : jsonldScripts) {
          //String lang = documentLang;
          //if (jsonldScript.getLang() != null) {
          //        lang = jsonldScript.getLang();
          //}
          //out.writeTriple(documentIRI, jsonldScript.getName(),
          //                SimpleValueFactory.getInstance().createLiteral(jsonldScript.getContent(),
lang));
        }
    
    I currently don't see how the ExtractionResult out is being written to in the current
master branch code for EmbeddedJSONLDExtractor.java
    
    Thoughts?
    
    [ERROR] Failures: 
    [ERROR]   EmbeddedJSONLDExtractorTest.testEmbeddedJSONLDInBody:45->AbstractExtractorTestCase.assertModelNotEmpty:329
The model is expected to not be empty.Assertion failed! Extracted triples:
    
    [ERROR]   EmbeddedJSONLDExtractorTest.testEmbeddedJSONLDInHead:31->AbstractExtractorTestCase.assertModelNotEmpty:329
The model is expected to not be empty.Assertion failed! Extracted triples:
    
    [ERROR]   EmbeddedJSONLDExtractorTest.testEmbeddedJSONLDInHeadAndBody:52->AbstractExtractorTestCase.assertModelNotEmpty:329
The model is expected to not be empty.Assertion failed! Extracted triples:
    
    [ERROR]   EmbeddedJSONLDExtractorTest.testSeveralEmbeddedJSONLDInHead:38->AbstractExtractorTestCase.assertModelNotEmpty:329
The model is expected to not be empty.Assertion failed! Extracted triples:



---

Mime
View raw message