py-pdf / pypdf

A pure-python PDF library capable of splitting, merging, cropping, and transforming the pages of PDF files
https://pypdf.readthedocs.io/en/latest/
Other
8.38k stars 1.41k forks source link

Update namespace links in xmp.py #2951

Open j-t-1 opened 3 hours ago

j-t-1 commented 3 hours ago

The namespace links in xmp.py need updating.

stefan6419846 commented 3 hours ago

Could you please elaborate with a source for this?

j-t-1 commented 3 hours ago

The Adobe links are not working. Preferably we can find updates from the PDF Association or ISO websites.

stefan6419846 commented 3 hours ago

Namespaces do not necessarily have to exist via HTTP. The docs still refer to them: https://developer.adobe.com/xmp/docs/XMPNamespaces/xmp/

j-t-1 commented 2 hours ago

Good find. I can update these sometime this week.

stefan6419846 commented 2 hours ago

As mentioned, the namespace should not require a change according to the linked docs, thus I am not sure if there is anything to do about this issue at all.

j-t-1 commented 2 hours ago

You are saying (almost certainly correctly) that the links (like XMP_NAMESPACE = "http://ns.adobe.com/xap/1.0/) did contain correct data that was used. There may not be anything to do here then (a non-issue). I will read more about XMP as have not used before.