pkar dump-res repeats the prolog for multiple-resource ouptut #52
Labels
No labels
area/api_cli
area/apps
area/content_model
area/framework
area/infrastructure
area/integrity
area/io
area/presentation
area/preservation
area/rdf
area/security
area/submission
area/ui
s
blocked
s
done
s
progress
s
testing
s
wontfix
p
critical
p
high
p
low
p
normal
t
bug
t
documentation
t
enhancement
t
feature
t
test
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
ktx/pocket_archive#52
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The
pkar dump-resCLI command, when called on mutiple IDs in the TTL format, outputs each resource with its own prolog. Taken as a single stream, this is not valid turtle.The CLI function should remove the prolog from all encoded resources except for the first.
Fixed in
824e94818e.Moving to 1.1.x branch because it changes the output format of
dump-resto TriG.Inconsequential for the user, but important for internal development, is that
repo.get_rsrc()generates a graph that no longer has the URI of the subject. This was semantically wrong and led to problems with graph copying, because all triples would be generated as relative to the temporary graph.The graph URI now is the subject URI with the
#ctxfragment appended.