Closed nicoweidner closed 1 year ago
@goneall This can be closed.
The issue came up while testing a new comparison tool (one version had the documentNamespace
property, while the other didn't). However, the issue was rather that the jackson store should not save documentNamespace
as a property (it's contained in the key anyway). So the tag/value store actually behaves correctly by not persisting documentNamespace
.
See the linked issue for the corresponding discussion.
@nicoweidner Makes sense - closing this issue.
I used the following minimal example for testing:
I deserialized via:
(where the tools helper is from tools-java, but it boils down to the tagvalue store from this repo).
While
document.getDocumentUri()
correctly returns the namespace, no value is present in the model store fordocumentNamespace,
as can be checked viaor
Note: The problem seems specific to this store, at least the xml store does not have the same issue. I didn't try the other stores yet