https://bugzilla.wikimedia.org/show_bug.cgi?id=27105

Bawolff <bawolff...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
                 CC|                            |bawolff...@gmail.com
         AssignedTo|wikibugs-l@lists.wikimedia. |bawolff...@gmail.com
                   |org                         |
            Summary|XMP parse error             |[in bawolff's img_metadata
                   |                            |branch] XMP parse error on
                   |                            |files that incorrectly use
                   |                            |an unordered array for
                   |                            |creator's list

--- Comment #2 from Bawolff <bawolff...@gmail.com> 2011-02-05 02:36:16 UTC ---
First off, yay! people are testing things from my branch!

Just to clarify, is this from the debug output, or are you seeing this as an
error message. In the case of invalid XMP metadata, it is supposed to dump a
whole bunch of stuff to the debug output, but show no error message to the
user, and generally behave as if there was no metadata for the file. The
ordinary user should not be able to see that message.

On to the actual issue. It rejects the file, because the xmp data actually is
invalid. According to the standard (
http://www.adobe.com/content/dam/Adobe/en/devnet/xmp/pdfs/XMPSpecificationPart1.pdf
), the list of creators must be an ordered list (with primary/most important
author first).

However, this isn't the first file I've heard of that incorrectly uses an
unordered list for creators. Presumably there's a broken xmp encoder somewhere.
It might be a good idea to be lax on the ordered vs unordered distinction
instead of just rejecting the metadata.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to