>> The correct way to parse XML files is as binary data.
> 
> Why do you think so?
> 
> The default "minidom" parser seems not to expect "\r\n" line endings....

Why do you say that? It expects them just fine, replacing them with \n
line endings, then inserting those into the DOM tree. Just as it should.
I believe the OP was complaining that it creates those text nodes in
the first place, not that it does or does not specifically do that for
\r\n line endings.

Regards,
Martin
_______________________________________________
XML-SIG maillist  -  XML-SIG@python.org
http://mail.python.org/mailman/listinfo/xml-sig

Reply via email to