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
I use pikepdf to set dc:title, dc:created and dc:contributor metadata on a PDF file. The resulting RDF looks like this (reformatted for better readability):
RDF is an overengineered mess, but judging from what I gather from the specification this is wrong:
There can be multiple rdf:Descriptions in a RDF, but I think they need to refer to different things using rdf:about; setting rdf:about to "" may be conformant, but I don't think it is correct. UPDATE: "" is apparently correct to reference the same file; nevertheless, all examples I could find use a single rdf:Description.
I'm not sure if dc:created exists as an attribute on rdf:Description, I think it should be an element instead.
I think this would be the correct RDF for the example above:
I use
pikepdf
to setdc:title
,dc:created
anddc:contributor
metadata on a PDF file. The resulting RDF looks like this (reformatted for better readability):RDF is an overengineered mess, but judging from what I gather from the specification this is wrong:
rdf:Description
s in aRDF
, but I think they need to refer to different things usingrdf:about
;settingUPDATE:rdf:about
to""
may be conformant, but I don't think it is correct.""
is apparently correct to reference the same file; nevertheless, all examples I could find use a singlerdf:Description
.dc:created
exists as an attribute onrdf:Description
, I think it should be an element instead.I think this would be the correct RDF for the example above:
The text was updated successfully, but these errors were encountered: