On Fri, Jan 29, 2010 at 11:30 AM, Richard Wiesinger
<[email protected]> wrote:
> which generates this code:
> <link rel="stylesheet" type="text/css"
> href="resources/org.mycompany.pages.HomePage/css/style.css"
> />
>
> This code is obviously not valid xhtml and therefore the
> wicketstuff-validator complains about this line.

Not sure why it thinks it is not valid xhtml...

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
<html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">
<head>
<title>Foo</title>
<link rel="stylesheet" href="http://example.com/style.css"; />
</head>
<body>
</body>
</html>

Validates correctly according to http://validator.w3c.org

Martijn

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to