This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
If I'm not mistaken, that XHTML DTD requires the document to have an <html> element as its root element. Yours doesn't and therefore it's not valid. I expect the SAX parser threw an exception that you didn't notice (or ignored).
Edit: actually Peter is correct about your DTD. The correct DTD for XHTML transitional isWhich is not what you have. My comments were about this DTD. [ October 31, 2007: Message edited by: Paul Clapham ]