[mb-devel] [WebService] Question about entity IDs and List properties

Patrick Ruhkopf mail at patrickruhkopf.de
Wed Feb 21 20:43:23 UTC 2007


Hi all,

 

Because I really like the idea of an Open Database (would be cool to have a
movie db, too) and there seems to be no Java client to the new XML web
service, I decided to write one. I am halfway through but now two questions
came up:

 

While the web service returns plain IDs (e.g. "ABCDE"), the parser in the
python implementation makes full URIs (e.g. Track.getArtist.getId() =
"http://musicbrainz.org/artist/ABCDE). Why is this?

 

Another thing I wonder about is that the sample xml files provided in the
test folder have offset and count attributes for lists but the web service
returns them as a comment?!

 

XML sample snipped:

    <release-list offset="0" count="234"> 

 

Web Service response for http://musicbrainz.org/ws/1/track/?title=gone
<http://musicbrainz.org/ws/1/track/?title=gone&type=xml> &type=xml

    <!--

    hits=11612

    offset=0

    -->

   <track-list>

 

Is this a bug that will be fixed or is it intentional?

 

Best Regards
Patrick Ruhkopf

 





More information about the MusicBrainz-devel mailing list