Watermark substitution is case-sensitive and XMP parameters are not uppercase
Parameters for substitution to SVG watermarks are dfefined in the manual (http://www.darktable.org/usermanual/ch03s04s09.html.php) and are all upper-case, including XMP-related:
However, these parameteres are NOT upper-case in the source code (http://darktable.org/redmine/projects/darktable/repository/revisions/master/entry/src/iop/watermark.c) and therefore are not substituted at all (the replacing is case-sensitive). This is how they look in the code:
I think it makes sense to make the replacement case-insensitive. The other option is to make them upper-case in the code, it's easier, but less flexible.
#3 Updated by Tobias Ellinghaus about 7 years ago
Ok, a short explanation why I really don't like this idea:
- this would allow people to create watermarks that will not work in versions of darktable released in the past without any added benefit.
- creating a watermark is a one-time thing, not a daily usability issue. So it shouldn't be a problem to copy&paste the correct variable name into your xml file.