This method fixes the problem with SAX
It compares the attributes from buffer and attrs list
if they don't match it changes the attrs list so that
it matches the information from the buffer
TODO: compare the buffer attributes to the attributelist
for example saxparser parses off the xmlns attribute
from html element so it should be added to the attribute
list
does not work with form -> enctype....