pyexiv2.xmp.register_namespace() requires URI ending with /

Bug #1000215 reported by Michal Čihař
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pyexiv2
Confirmed
Medium
Unassigned
Debian
Fix Released
Unknown

Bug Description

pyexiv2.xmp.register_namespace() requires the URI to end with "/"
characters. I believe that this is unreasonable requirement. What the
XMP specification says about the subject is:

“A namespace URI used in XMP should end in a character that is not
allowed in an XML NCName (the local name). Recommended characters are
the slash ("/", U+002F) or the number sign ("#", U+0023). This can
improve compatibility with applications that catenate the namespace URI
and local name, avoiding potential collisions.”

Please allow at least "#" as trailing character in namespace URIs.

Changed in debian:
status: Unknown → New
Olivier Tilloy (osomon)
Changed in pyexiv2:
importance: Undecided → Medium
status: New → Confirmed
Changed in debian:
status: New → Confirmed
Changed in debian:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.