Reply To: A standalone Java client: FireflyClient

#15533
Anonymous
Inactive

@onecaibou wrote:

I just uploaded xml file to http://ekemper.googlepages.com/fireclientlibrary

Thanks! It helped a lot!
I found the problem. It comes from invalid characters in some comment tag which make the XML parsing crash in an unrecoverable way!
For example, the song Gyroscope (The Dismemberment Plan) has a comment tag with invalid character which stops parsing.
I don’t know if the comment tag is faulty or just bad rendered by the server?

There are only 3 types of database browsing:
– id: return just song id and title
– browse: return some commonly used infos (not comment!)
– full: returns all infos available (comment included!)

(Ron, if you read me, would it be possible to implement a custom type with the choice of the infos returned?)

For getting all needed infos I need a full browsing (‘browse’ type, though not returning ‘comment’ info — which could so solve the problem — does not return some usefull infos needed by firefly client.

Anyway, I will try to implement a workaround (XML preprocessing?) to be more compatible with those “corrupted” useless comments (and let you know)

— caribou