strange DOM behaviour when using minidom

2006-09-11 Thread JoReiners
Hello, I have a really strange problem. I'm unable to figure it out on my own. I parse very simple xml documents, without any check for their form. These files look very similar and are encoded in UTF-8. Now minidom is always able to parse these files with minidom.parse(file) . Now when fetching

Re: strange DOM behaviour when using minidom

2006-09-11 Thread JoReiners
Sorry, I just found the error. Simple an empty attribute. Python showed me strange row numbers. I used a multi line initialization of a dict. The error always appeared on the first line although I was on an other line. Interesting behavior. Jonatan JoReiners schrieb: Hello, I have a really