W3C home > Mailing lists > Public > www-validator@w3.org > April 2004

Re: Nested link bug?

From: Ian Hickson <ian@hixie.ch>
Date: Mon, 26 Apr 2004 23:34:08 +0000 (UTC)
To: Kai Hendry <hendry@cs.helsinki.fi>
Cc: www-validator@w3.org
Message-ID: <Pine.LNX.4.58.0404262333090.1478@dhalsim.dreamhost.com>

On Tue, 27 Apr 2004, Kai Hendry wrote:
>
> http://www.cs.helsinki.fi/u/hendry/temp/test1/
>
> This shouldn't validate should it ?
>
> <a href="http://cs/"><b>test <a href="http://different/">test 2</a></b></a>

It's non-compliant, but it is XML-valid because XML DTDs cannot describe
that conformance constraint.

SGML DTDs can, so if you changed that to an HTML4 document instead of an
XHTML document, you would find it no longer validated.

-- 
Ian Hickson                                      )\._.,--....,'``.    fL
U+1047E                                         /,   _.. \   _\  ;`._ ,.
http://index.hixie.ch/                         `._.-(,_..'--(,_..'`-.;.'
Received on Monday, 26 April 2004 19:34:12 GMT

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