Forum - View topicMalformed XML on Castle Town Dandelion (TV)
|
Author | Message | ||
---|---|---|---|
RobbiRobb
Posts: 56 |
|
||
I was trying to query some data via the XML API and ran into a weird error: The XML API for Castle Town Dandelion (TV) throws a malformed xml error. Reason for this seems to be that the title of the second official website link contains a non-printable character that can only be seen in the source code. I didn't report it as an error because the text and link itself is (probably) correct and from my experience errors aren't resolved timely, so I don't really see it being fixed that way in the foreseeable future. I also don't really know where it's coming from because the source code of encyclopedia page doesn't show the character. I hope that by posting it here a moderator can fix that error. As far as I can see this also seems to be the only anime affected. Thank you!
|
|||
Dan42
Chief Encyclopedist
Posts: 3794 Location: Montreal |
|
||
I've added some sanitization to strip out invalid control chars from the input.
God knows how U+0008 got in there. That API page is now ok. |
|||
RobbiRobb
Posts: 56 |
|
||
Thank you for the fix and thank you very much for the update!
|
|||
All times are GMT - 5 Hours |
||
|
Powered by phpBB © 2001, 2005 phpBB Group