[
https://issues.apache.org/jira/browse/CLEREZZA-20?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12864862#action_12864862
]
Reto Bachmann-Gmür commented on CLEREZZA-20:
--------------------------------------------
ok, adding a trim() here seems to fix it:
private long applyGenSymIdentifier(Map<String, Long> labels,
long genSymCounter, StringBuilder currentLine, int
where,
String prefix) {
int index = currentLine.lastIndexOf("#_:");
String identifier =
currentLine.substring(index + 1,
currentLine.length()).trim();
> Stable serialization
> --------------------
>
> Key: CLEREZZA-20
> URL: https://issues.apache.org/jira/browse/CLEREZZA-20
> Project: Clerezza
> Issue Type: New Feature
> Reporter: Reto Bachmann-Gmür
> Assignee: Manuel Innerhofer
> Attachments: CLEREZZA-20.zip, StableSerializerProvider.java
>
>
> We shall provide an N-TRIPLES serializer that provides some stability in the
> serializations, i.e. that small changes in the graph cause a small change in
> the serialized form (and that the same graph often results in the same
> serialization). While full deterministic serialization is too computation
> expensive in the general case, some relatively simple adpatations in the
> b-node labeling algorithm and the order of the triples could give usable
> stability, thus making the nt-documents (such as the documentation.nt files)
> much more suitable for storage within a a VCS.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.