W3C home > Mailing lists > Public > www-validator@w3.org > August 2007

Re: [ve][64] document.writeln does not allow write <br /> in document

From: David Dorward <david@dorward.me.uk>
Date: Thu, 2 Aug 2007 12:08:11 +0100
Message-Id: <58BFE918-E24C-4F35-A751-8C5ACE207ADA@dorward.me.uk>
Cc: www-validator@w3.org
To: Lauri <laurinmail@gmail.com>


On 1 Aug 2007, at 18:55, Lauri wrote:

> validating http://koti.mbnet.fi/laurinps/scripts/allaboutyou.htm  
> error [64]: "document type does not allow element x here"
>
> What is the main problem in here? I really have thought what is  
> wrong, but I didn't find out? There is just a <p>-tag and there a  
> writing writeln()-method, that doesn't support writing <br />?!
> Is that a bug or something, that I just cannot understand?

Explained here: http://www.w3.org/TR/xhtml1/#h-4.8
http://www.webdevout.net/articles/beware-of-xhtml is a worthwhile  
read too.

-- 
David Dorward
http://dorward.me.uk/
http://blog.dorward.me.uk/
Received on Thursday, 2 August 2007 11:08:38 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:25 GMT