- From: Leif Halvard Silli <xn--mlform-iua@xn--mlform-iua.no>
- Date: Sun, 27 Jun 2010 18:16:21 +0200
- To: Kornel Lesinski <kornel@geekhood.net>
- Cc: public-html@w3.org
Leif Halvard Silli, Sun, 27 Jun 2010 18:13:20 +0200: > Leif Halvard Silli, Sun, 27 Jun 2010 17:24:19 +0200: >> Leif Halvard Silli, Sun, 27 Jun 2010 16:45:59 +0200: >>> Kornel Lesinski, Sun, 27 Jun 2010 15:12:54 +0100: >>>> On Sun, 27 Jun 2010 05:48:16 +0100, Leif Halvard Silli: > [ snip ] > >>>> http://www.w3.org/TR/html401/struct/text.html#h-9.4 >>> >>> I suppose you mean this: ? >>> >>> ]] >>> ILLEGAL EXAMPLE: >>> The following is not legal HTML. >>> <P> >>> <INS><DIV>...block-level content...</DIV></INS> >>> </P> >>> [[ > > >> […] seems like a bug in the XHTML validation service. Which I have now > filed. >> http://www.w3.org/Bugs/Public/show_bug.cgi?id=10022 > > There is no doubt that there is a bug in the W3 HTML4/XHTML1 validation > service: If you try to validate the (lowercase version of the) code > which HTML4.01 explains as an example of _illegal_ markup, then the W3 > Validator currently stamps it as *valid* HTML4/XHTML1. > > As further back-up, I'll mention that Validator.nu agrees with my > interpretation of HTML4.01 - if you try to validate the the HTML4 > example as > XHTML 1.0 Strict in the Validator.nu service, you get the following > message: > > ]] XHTML element div not allowed as child of XHTML element ins in this > context. > (Suppressing further errors from this subtree.) > From line 8, column 6; to line 8, column 10 > ↩<p>↩<ins><div>...blo [[ > > Whereas if I change the <ins> to an object: > > <p> > <object data="image" type="image/gif" ><div>...block-level > content...</div></object> > </p> > > then the Validator.nu service stamps it as valid. Brilliant, Henri! Btw, Validator.nu also stamps such an example as valid HTML4.01. -- leif halvard silli
Received on Sunday, 27 June 2010 16:16:56 UTC