login about faq

The file generated by Chilkat is failing when being loaded into PhotoShop on the Usage Right element. Specifically, this

xmlns:xmpRights=""
the double quotes should contain
xmlns:xmpRights="http://ns.adobe.com/xap/1.0/rights/"
in order to work. When I paste in this "http://..." phrase into the Chilkat file it loads into Photoshop just fine. Is this the programmers responsibility to make sure this is getting setup properly? or is it something else?

asked Mar 01 '13 at 13:13

chilkat's gravatar image

chilkat ♦♦
11.8k316358420


Chilkat XMP recognizes most commonly used namespaces and will automatically add the appropriate URL. However, I found that "xmpRights" was not in the list (internal to the Chilkat XMP class). I made the change so that it's there for the next version release.

However, there is a way to work around the problem. The AddNsMapping method can be called to add a namespace-to-URL mapping.

AddNsMapping(string ns, string uri);
Call this method to add the mapping from "xmpRights" to "http://ns.adobe.com/xap/1.0/rights/" so that it's automatically generated.

link

answered Mar 01 '13 at 13:16

chilkat's gravatar image

chilkat ♦♦
11.8k316358420

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×10
×3

Asked: Mar 01 '13 at 13:13

Seen: 1,173 times

Last updated: Mar 01 '13 at 13:16

powered by OSQA