You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Escaped PROV-N metacharacters (= ' ( ) , : ; [ ]) in the local parts of qualified names, so identifiers containing them serialise to valid PROV-N; backslashes in string literals are now escaped before quotes (#223).
Anonymous prov:qualified* nodes for communication, attribution, delegation and influence now carry their own influencer property, as the PROV-O qualification tables require, so a qualification node is interpretable without its shorthand binary triple; decoding uses that property to tell several same-kind qualification nodes apart instead of guessing (#250, #226).
PROV-XML now round-trips empty-string attribute values, which previously vanished entirely because lxml reports an empty element's text as None, and escapes attribute-name local parts that are not legal XML NCNames using the _xHHHH_ convention instead of emitting invalid XML (#224, #289).
The PROV-JSON deserializer now raises ProvJSONException with a message naming the offending construct when given malformed input, instead of letting KeyError, AttributeError or TypeError escape (#228).
prov:startedAtTime and prov:endedAtTime asserted directly on a qualified prov:Start/prov:End node are now decoded into the relation's formal prov:time attribute, instead of being stripped into extra attributes (#299).
Anonymous attribution, communication and influence relations carrying extra attributes now reconcile onto their prov:qualified* node when decoded from RDF, as delegation and association already did, instead of producing a duplicate record (#303).
Qualified names whose local part ends in a PROV-N metacharacter now round-trip through PROV-O instead of raising ValueError: Can't split from rdflib during deserialization; encoded output is unchanged (#294).
prov.read() now populates the serializer registry only when it is empty, instead of discarding and rebuilding it on every call; no observable behaviour change (#353).