Im trying to make a program which will build a tree from xml document via SAX parser. But in result names of tags build sucsessful , but in attributes I see only attribute of last tag.
What is wrong with code? Print to tree is in tag.toString()
Try to change line 48 into:
Tag t = new Tag(eName, new org.xml.sax.helpers.AttributesImpl(attrs));