[XML-SIG] Parsing XML file with Minidom has problem with cr/lf
stefan_ml at behnel.de
Tue May 11 08:16:13 CEST 2010
Bill Kinnersley, 10.05.2010 19:59:
> - XML files are text files, and should be read as text.
Sorry, but the only sane way to read them is as binary data. Passing
unicode text to the parser will interfere with the encoding declaration at
> - The XML processor is required to return end-of-line as a single '\n',
> regardless of which OS or programming language.
Interesting. I wasn't aware of that, but it's true.
More information about the XML-SIG