artist.getinfo error

    • ezdmanx sa...
    • Användare
    • 2 mar 2012, 13:40

    artist.getinfo error

  • It has lots of VT (0x0B) chars in it that ought to have been filtered out at the wiki edit stage.

    • [Raderad användare] sa...
    • Användare
    • 6 mar 2012, 18:21
    i edited the wiki and it works now.

  • Really???

    Redigerad av Babs_05 den 9 mar 2012, 18:52
    • dunk sa...
    • Alumni
    • 29 mar 2012, 22:14
    This is the endless issue of garbage in is garbage out. Some characters that are valid UTF-8 are invalid XML, but we don't post-process and of the user-submitted input (and that includes even artist names), so in cases where there's some invalid characters your parser (even if it's just in the browser) will choke. We also re-process our own XML to turn it into JSON (for historical reasons), and our own parser chokes on these and ends up returning nothing. I know, horrible. Perhaps one day we'll fix it by just suppling JSON as the primary output...

Anonyma användare kan inte skriva inlägg. Vänligen logga in eller skapa ett konto för att göra inlägg i forumen.