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

Re: [VE][63] Character data is not allowed here extended error message text

From: David Dorward <david@dorward.me.uk>
Date: Mon, 16 Apr 2007 19:18:52 +0100
Message-ID: <4623BE0C.4010308@dorward.me.uk>
To: www-validator@w3.org

olivier Thereaux wrote:
> Would you like to give a go at drafting a merged version, or should I?

How does this look?

<div class="ve mid-63">
<p>You have used character data somewhere it is not permitted to appear.
   Mistakes that can cause this error include:
  <li>putting text directly in the body of the document without wrapping
      it in a container element (such as a &lt;p&gt;aragraph&lt;/p&gt;),
  <li>forgetting to quote an attribute value (where characters such as
      "%" and "/" are common, but cannot appear without surrounding
       quotes), or
  <li>using XHTML-style self-closing tags (such as &lt;meta ... /&gt;)
      in HTML 4.01 or earlier. To fix, remove the extra slash ('/')
      character. For more information about the reasons for this, see
      <a href="http://www.cs.tut.fi/~jkorpela/html/empty.html">Empty
      elements in SGML, HTML, XML, and XHTML</a>.

I think we should keep an eye on this one and the work being produced by
the new HTML working group. From the sounds of it, their new non-SGML,
non-XML, non-"reuse any non-tag soup parser" plan will mean that this
won't be an error in the text/html version of their new markup language,
but that might change. For that matter, it might be worth thinking about
the future of the Markup Validator with respect to their plans.

David Dorward                               <http://dorward.me.uk/>
Received on Monday, 16 April 2007 18:19:45 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:17:51 UTC