Skip to content

Commit

Permalink
[Feature #15] Fix invalid url for table row
Browse files Browse the repository at this point in the history
  • Loading branch information
blcham committed Sep 18, 2021
1 parent 5f42e64 commit 527c8d9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ ExecutionContext executeSelf() {
ResourceFactory.createTypedLiteral(Integer.toString(rowNumber),
XSDDatatype.XSDinteger));
// 4.6.5
final String rowIri = T.getURI() + "#row=" + listReader.getRowNumber();
final String rowIri = sourceResource.getUri() + "#row=" + listReader.getRowNumber(); // TODO check with specification
outputModel.add(
R,
CSVW.url,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import cz.cvut.spipes.engine.ExecutionContext;
import cz.cvut.spipes.engine.ExecutionContextFactory;
import cz.cvut.spipes.modules.tabular.Mode;
import cz.cvut.spipes.util.JenaUtils;
import cz.cvut.spipes.util.StreamResourceUtils;
import org.junit.jupiter.api.Test;

Expand Down Expand Up @@ -39,8 +38,6 @@ public void executeWithSimpleTransformation() throws URISyntaxException, IOExcep

ExecutionContext outputContext = module.executeSelf();

JenaUtils.saveModelToTemporaryFile(outputContext.getDefaultModel());

assertTrue(outputContext.getDefaultModel().size() > 0);
}

Expand Down

0 comments on commit 527c8d9

Please sign in to comment.