W3C home > Mailing lists > Public > www-validator@w3.org > October 2008

Re: [VE][63] In the cite Attribute of blockquote element. 4.0 strict

From: Toby A Inkster <tai@g5n.co.uk>
Date: Mon, 6 Oct 2008 06:22:24 +0100
Message-Id: <213E7E3C-9893-4F6F-889C-1E66258B65C5@g5n.co.uk>
To: www-validator@w3.org

> Validating http://www.mallxs.nl/AplHtml/test/test.php?version=html4
>
> Error [63]: "character data is not allowed here"
>
> The Validator is complaining about the URI in the cite Attribute of
> blockquote element.

No, that's not what the validator is complaining about  it's  
complaining about the *contents* of your blockquote. The content  
model for <blockquote> is roughly the same as the content model for  
<body>. In other words, in strict, any inline text needs to be  
wrapped in block elements, such as paragraphs.

That is, not:

	<blockquote>foo</blockquote>

but:

	<blockquote>
		<p>foo</p>
	</blockquote>

-- 
Toby A Inkster
<mailto:mail@tobyinkster.co.uk>
<http://tobyinkster.co.uk>
Received on Monday, 6 October 2008 05:23:33 GMT

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