Last modified: 2008-10-25 15:57:45 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T18105, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 16105 - Image metadata attributes produce invalid XML.
Image metadata attributes produce invalid XML.
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Roan Kattouw
http://commons.wikimedia.org/w/api.ph...
:
Depends on:
Blocks: 16106
  Show dependency treegraph
 
Reported: 2008-10-25 11:35 UTC by Platonides
Modified: 2008-10-25 15:57 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Platonides 2008-10-25 11:35:56 UTC
Image metadata properties are not validated for correct XML output.

As an example, the 'ALBUM ARTIST' property generate <comments ALBUM ARTIST="XX" /> which is not an attribute called ALBUM ARTIST, but an ARTIST attribute with another, ALBUM one without value (which is invalid).
Comment 1 Platonides 2008-10-25 11:42:02 UTC
Another example, at Image:Nl-truc.ogg: <comments Comments="Wikimedia Foundation, Commons" Artist Name="[[meta:User:Walter]]" />
Comment 2 Roan Kattouw 2008-10-25 15:57:45 UTC
Damn, I hate XML.

Fixed in r42552 by replacing these spaces with underscores (only in XML, of course; other formats are unaffected).

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links