Hi

i had a problem with importing data from an xml, because aparently it wasn't formatted well, and there were some newlines in the data.

i've created a patch so that the parser removes newlines from the value, it was what fixed my problem, but i'm not sure if it's a fix for general use..

CommentFileSizeAuthor
xml_parser.patch718 bytes30equals

Comments

greg.harvey’s picture

Status: Active » Needs work

Well certainly just removing newlines is not an acceptable fix for the main module. Could you not safely escape them or something like that?