I have a strange problem with vb.net (vs 2008 - win xp).
I have to read a XML file and then put results to a list view.
The first file looks like this:
[code]
[/code]
I can read this without problem, everything works.
If I try to read this file:
[code]
[/code]
Something goes wrong...
Simply it doesn't read each line...
I use the same code on both files, but when I read the second file, in debug mode, I can see that the first 2 lines are ok, then the reader.value has a value of "NONE". After this, it goes until the "multi protocol" and it goes until end.
So... WHY some lines are not read?
As attachment you can find my code (working = codeOK not working = BADcode).
Thanks
Replies
Know the answer? Post it — somebody with the same question will find it here.