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

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:
</p>
<ul>
  <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;),
      or
  </li>
  <li>forgetting to quote an attribute value (where characters such as
      "%" and "/" are common, but cannot appear without surrounding
       quotes), or
  </li>
  <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>.
  </li>
</ul>
</div>

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