- From: Jukka K. Korpela <jkorpela@cs.tut.fi>
- Date: Fri, 18 Nov 2011 09:19:01 +0200
- To: www-validator@w3.org
2011-11-17 18:11, Ville Skyttä wrote: > On 11/17/2011 10:38 AM, Jukka K. Korpela wrote: >> 2011-11-17 7:28, Leif Halvard Silli wrote: >>> Jukka K. Korpela, Thu, 17 Nov 2011 01:06:38 +0200: > > [...] > > If/when you come to an agreement about the new wording for this > explanation, ping me and I'll have a look at applying it. Here's the result of some iterations by Leif and me, intended to focus on the mismatch between authors' expectations and validator (rather than browser) behavior, which seems to be the heart of the matter: For the current document, the validator interprets strings like <FOO /> according to legacy rules that break the expectations of most authors and thus causes confusing warnings and error messages from the validator. This interpretation is triggered by HTML 4 documents or other SGML-based HTML documents. To avoid the messages, simply remove the "/" character in such contexts. NB: If you expect <FOO /> to be interpreted as an XML-compatible "self-closing" tag, then you need to use XHTML or HTML5.
Received on Friday, 18 November 2011 07:19:30 UTC