[ 
https://issues.apache.org/jira/browse/JENA-1117?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dimitris Kontokostas updated JENA-1117:
---------------------------------------
    Description: 
The following code succeeds on the first check where the difference is empty 
but fails with isIsomorphicWith() where it shouldn't

{code:java}
   Model difference = inputModel.difference(outputModel);
   assertThat(difference.isEmpty()).isTrue();
   assertThat(inputModel.isIsomorphicWith(outputModel)).isTrue();
{code}

The code does not fail always, works with all of my test files except the 
following:
https://raw.githubusercontent.com/AKSW/RDFUnit/d29315a5fef16855253222d5606555bbf2b5a1f6/rdfunit-model/src/test/resources/org/aksw/rdfunit/model/results/sample.extendedTestCaseResult.ttl

  was:
The following code succeeds on the first check where the difference is empty 
but fails with isIsomorphicWith() where it shouldn't

```
       Model difference = inputModel.difference(outputModel);
        assertThat(difference.isEmpty()).isTrue();
        assertThat(inputModel.isIsomorphicWith(outputModel)).isTrue();
```

The code does not fail always, works with all of my test files except the 
following:
https://raw.githubusercontent.com/AKSW/RDFUnit/d29315a5fef16855253222d5606555bbf2b5a1f6/rdfunit-model/src/test/resources/org/aksw/rdfunit/model/results/sample.extendedTestCaseResult.ttl


> Model.isIsomorphicWith() does not behave correctly
> --------------------------------------------------
>
>                 Key: JENA-1117
>                 URL: https://issues.apache.org/jira/browse/JENA-1117
>             Project: Apache Jena
>          Issue Type: Bug
>          Components: Jena
>    Affects Versions: Jena 2.13.0
>         Environment: Ubuntu 15.10
>            Reporter: Dimitris Kontokostas
>            Priority: Minor
>
> The following code succeeds on the first check where the difference is empty 
> but fails with isIsomorphicWith() where it shouldn't
> {code:java}
>    Model difference = inputModel.difference(outputModel);
>    assertThat(difference.isEmpty()).isTrue();
>    assertThat(inputModel.isIsomorphicWith(outputModel)).isTrue();
> {code}
> The code does not fail always, works with all of my test files except the 
> following:
> https://raw.githubusercontent.com/AKSW/RDFUnit/d29315a5fef16855253222d5606555bbf2b5a1f6/rdfunit-model/src/test/resources/org/aksw/rdfunit/model/results/sample.extendedTestCaseResult.ttl



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to