What is the correct syntax to set a specific XML
namespace for additional XMP data to be stored? The XmpSchema.XmlNameSpace property allows for “set” with the default being xmlns:pdf=“http://ns.adobe.com/pdf/1.3/”. How would this be changed to allow setting xmlns:xmp=“http://ns.adobe.com/xap/1.0/” so that it shows in the “xmp core”
area?
The reason I ask is if I set it (using vb.net) like this:
Dim xmp As New Aspose.Pdf.Kit.XmpSchema()
xmp.XmlNameSpace = “xmlns:xmp=http://ns.adobe.com/xap/1.0/”
xmp.AddUserProperty(“FieldName”, “DataHere”)
xmpMetaData.AddXmpRdf(xmp)
xmpMetaData.Save()
and then look inside the PDF - I see the data still displaying in the xmlns:pdf=“http://ns.adobe.com/pdf/1.3/” section.
I have tested this issue at my end and noticed the inconsistency you mentioned. I have forwarded a request to our development team for further investigation. You'll be updated as I receive some response.
After further analysis we have found that there is some problem in the Aspose.Pdf.Kit. Our team is working on this issue and it can take some time. We'll update you as we resolve the issue.
Thanks for the reply. It is very important for this issue and for the issue that is being tracked as PDFKITNET-7884 to be resolved in determining if we will purchase this product.