XMP replace works manually but fails with doc.metadataPreferences.replace() only for a property
Hi all,
Either I am missing the obvious or is it a bug, I hope you have an idea. I have a XMP file that I want to replace current metadata within InDesign document. My replacement routine (doc.metadataPreferences.replace()) works as most of the properties are updated.
However there is one that stays untouched and I can't figure why. The property is the xmpRights:Marked field which in the UI stands for Copyright status. The documentation states that this value is a boolean (True>copyrighted, False>Public Domain). But there is a third state which is "unknown" and documentation says that in this case, you can omit the property.
Allright, allright, so I update XMP file to delete property and I get to the point: That updated xmp file will change the xmpRights:Marked value if I load this file manually. However, the same file loaded with metadataPreferences.replace(xmpFile, true) doesn't affect the UI value nor the XMP structure.
Hence my questioning of a possible bug. Has anyone any experience on resetting this particular xmp field?
Loic
