| |
Mr.Ammo Account closed
Registered: Oct 2002 Posts: 228 |
Broken XML served by webservices
FYI:
The Knight Rider has posted information as 'hidden' part: https://csdb.dk/release/?id=177224&show=hidden#hidden, he forgot to remove the invalid characters. These invalid characters make the CSDb webservices go *BOOM* (error on line 118 at column 2: PCDATA invalid Char value 19).
Click on this link and see what I mean: https://csdb.dk/webservice/?type=release&id=177224&depth=2
Another tiny thing: the XML header still says: <?xml version="1.0" encoding="ISO-8859-1"?> while the http-header says: Content-Type: text/xml;charset=UTF-8. This seems to contradict each other and I would expect to see: <?xml version="1.0" encoding="UTF-8"?>. |
|
| |
hedning
Registered: Mar 2009 Posts: 4732 |
I have poked Perff. |
| |
Perff Administrator
Posts: 1679 |
Damn a lot of crazy ascii-values.
Hope I got them all now. At least the example link now works.
As for the header, I think there was a problem when moving to the new server, which is why I didn't change it from ISO-8859-1 to UTF-8, but can't remember, so I tried to change it now.
Lets see what happens. ;)
Thanks for reporting as always. :D |
| |
JCH
Registered: Aug 2008 Posts: 200 |
As per the PM I've mailed you, changing that completely messed up the web service for DeepSID. I get all kinds of empty stuff now. |
| |
Perff Administrator
Posts: 1679 |
Sorry JCH. Now I remember it was there the problem was.
It's changed back now.
Then people will just have to live with the difference in http-header / xml-header, at least for a while. ;) |
| |
JCH
Registered: Aug 2008 Posts: 200 |
Thanks, it works again. |