Thanks for your reply but..iam struggling wiht the same issue..
Iam parsing one html file using sax parser
The starting 3 lines of my file are
<? xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html lang="en">
Can i know whether i have done any mistake in this tarting tags...because if i remove the first two lines i dont get this exception...
please help me out of this .. How can i parse the <!doctype tag this also i do have a doubt any special way to handle it??...Thanks a ton..