From: Vinay M. <vin...@gm...> - 2005-03-11 06:10:59
|
Hi, I did some debugging myself to check if the HtmlUnitDOMBuilder (within HTMLParser) was picking up these tags at all in the first place. And I actually found that, while the <html>, <head> and <title> tags trigger the "startElement" method of the ContentHandler, the tags following them dont. So, may be this is an issue with the Xerces implementation ? Some googling on the web did seem to suggest this as a problem with xerces. Infact, when I put in any other kind of an encoding instead of UTF-16, HtmlUnit is able to detect the tags following and including the <meta> tag. Hope this helps, Regards Vinay |