Anonymous - 2004-06-28

I accidentaly typed the same attribute name twice. Tiny XML gave the error 'Error reading Element value.'

turned out that in the code, double attr's are handled nicely (the value of the old attr is replaced) but then 0 is returned in stead of just continueing.

tinyxmlparser.cpp, line 979 "return 0;"

I would like to know if this is intended, or if this is a bug...

if it is intended, it might help to give an useful error about it.

version 2.2.1