- From: Saila, Craig <Craig.Saila@bgminteractive.com>
- Date: Wed, 27 Nov 2002 15:31:54 -0500
- To: <www-validator@w3.org>
In HTML 4.01 documents (strict or transitional), where a <p> contains a <div>, the wrong error definition appears. Instead of: Line [x], column [x]: document type does not allow element "div" here; missing one of "object", "ins", "del", "map", "button" start-tag This is displayed: Line [x], column [x]: end tag for element "P" which is not open With a XHTML DOCTYPE (strict or transitional), the correct message appears. Test case: <http://www.saila.com/attic/sandbox/p_contains_div.html> (I'm subscribed to this list.) -- Cheers, Craig Saila ------------------------------------------ craig@saila.com : http://www.saila.com/ ------------------------------------------
Received on Thursday, 28 November 2002 10:13:49 UTC