[mb-bugs] [MusicBrainz Bug Tracker] #3234: Discrepancy in release-event XML format between queries and direct data

MusicBrainz Bug Tracker noreply at musicbrainz.org
Mon Sep 24 04:56:59 UTC 2007


#3234: Discrepancy in release-event XML format between queries and direct data
-------------------------------------+--------------------------------------
 Reporter:  lunchtimemama at gmail.com  |       Owner:  rob
     Type:  bug                      |      Status:  new
 Priority:  normal                   |   Milestone:     
Component:  XML Webservice           |     Version:     
 Keywords:                           |     Browser:     
       Os:                           |  
-------------------------------------+--------------------------------------
 Take a look at the release-event-list format for a query such as
 http://musicbrainz.org/ws/1/release/?type=xml&title=Welcome+Interstate+Managers

 Notice that the release-event-list appears as:

 <release-event-list>
   <event date="US 2003-06-10 GB 2003-09-15 "/>
 </release-event-list>

 Whereas if you look at that release directly
 (http://musicbrainz.org/ws/1/release/f4810353-6d20-4c08-aa9d-
 c2b5059ccc8c?type=xml&inc=release-events) the release-event-list appears
 thusly:

 <release-event-list>
   <event date="2003-06-10" country="US"/>

   <event date="2003-09-15" country="GB"/>
 </release-event-list>

 It appears to me as though release-event-lists in queries only ever
 contain one event node which summarizes the country and date data for all
 events into the single date attribute. If this is the case, the I think
 that queries should use a different tag for the summary. For example:

 <release-event-summary releases="US 2003-06-10 GB 2003-09-15 "/>

 Or something similar. My code which analyzes the release-event-list XML
 node is not aware of the larger context and therefor doesn't know whether
 to expect the date attribute to be the date, or a space-separated list of
 all countries and dates for all releases.

-- 
Ticket URL: <http://bugs.musicbrainz.org/ticket/3234>
MusicBrainz Bug Tracker <http://musicbrainz.org>
MusicBrainz -- the music metadatabase


More information about the Musicbrainz-bugs mailing list