I'm going to take a wild guess... the OP is passing the Attributes object from the startElement() method outside of the method, and expecting it to contain the same attributes at a later point in the parsing. That doesn't work: buried in the API documentation for the method is the phrase "The value of this object after startElement returns is undefined." ...