Skip to content

Commit

Permalink
Merge pull request #4771 from inception-project/bugfix/4769-Cannot-ex…
Browse files Browse the repository at this point in the history
…port-CAS-RDF

#4769 - Cannot export CAS RDF
  • Loading branch information
reckart authored Apr 29, 2024
2 parents 9db2487 + f41c411 commit 8393c2d
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,10 @@ private void convertView(JCas aJCas, Model aTarget)
var docuri = dmd.getDocumentUri() != null ? dmd.getDocumentUri()
: DOCUMENT_SCHEME + dmd.getDocumentId();

if (docuri.indexOf(':') < 0) {
docuri = DOCUMENT_SCHEME + docuri;
}

// These only collect a single view...
var reachable = CasDoctorUtils.collectReachable(aJCas.getCas());
var indexed = CasDoctorUtils.collectIndexed(aJCas.getCas());
Expand Down

0 comments on commit 8393c2d

Please sign in to comment.