×
  • remind me tomorrow
  • remind me next week
  • never remind me
Subscribe to the ANN Newsletter • Wake up every Sunday to a curated list of ANN's most interesting posts of the week. read more

Forum - View topic
Malformed XML on Castle Town Dandelion (TV)




Anime News Network Forum Index -> Site-related -> Bugs & Technical Questions
View previous topic :: View next topic  
Author Message
RobbiRobb



Joined: 08 Oct 2021
Posts: 45
PostPosted: Tue May 31, 2022 12:44 pm Reply with quote
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!
Back to top
View user's profile Send private message
Dan42
Chief Encyclopedist


Joined: 02 Jan 2002
Posts: 3782
Location: Montreal
PostPosted: Thu Jun 09, 2022 2:47 pm Reply with quote
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.
Back to top
View user's profile Send private message Visit poster's website AIM Address My Anime My Manga
RobbiRobb



Joined: 08 Oct 2021
Posts: 45
PostPosted: Thu Jun 09, 2022 6:00 pm Reply with quote
Thank you for the fix and thank you very much for the update!
Back to top
View user's profile Send private message
Display posts from previous:   
This topic is locked: you cannot edit posts or make replies.    Anime News Network Forum Index -> Site-related -> Bugs & Technical Questions All times are GMT - 5 Hours
Page 1 of 1

 


Powered by phpBB © 2001, 2005 phpBB Group