Updates MyHandler class. There was a bug in the method of startElement. Created a new class called XMLParserSAX that tests if my parser works fine. It has worked fine.