W3C home > Mailing lists > Public > www-tag@w3.org > September 2007

Re: XML, namespaces, extensibility and validation

From: Karl Dubost <karl@w3.org>
Date: Thu, 6 Sep 2007 12:52:28 +0900
Message-Id: <60D50007-68E3-44BE-9D99-4B6F9841D57B@w3.org>
Cc: olivier Thereaux <ot@w3.org>, www-tag@w3.org
To: Mark Nottingham <mnot@yahoo-inc.com>

Hi Mark,

In a process to try to clarify.

Mark Nottingham (5 sept. 2007 - 10:15) :
>>> - give a list of extensions used the validator does not know  
>>> about.  This is a warning, not an error.
>> Could you give an example of that?
> My thinking was that unrecognised elements/attributes in HTML (not  
> just XHTML) should raise a warning, rather than an error.

Fix if I misunderstood:

For HTML 4.01, HTML 3.2 (W3C specs), we have two choices.
    1. Rescinding them when HTML 5 has been published [1]
    2. Republish them with these processing rules (unlikely)

For HTML 5, does it mean
    unrecognised elements/attributes
    => which are not in the HTML 5 specification.

This is a conformant HTML 5 document.

<!DOCTYPE html>
<title>life is beautiful<title>

You would issue warnings for "bar" attribute and "foo" element.

<!DOCTYPE html>
<title>life is beautiful<title>
<p bar>

You would issue error for "foo" element and warning for "bar" attribute
	(markup is forbidden inside title element, text only)

<!DOCTYPE html>
<title>life <foo bar>is beautiful<title>

In Camino (Firefox 2 engine), it closes the title and moves the "foo"  
element to the body.
In Safari 2.0, the text and the elements disappears aka no title, no  
foreign element.

[1]: http://www.w3.org/2005/10/Process-20051014/tr.html#rec-rescind

Karl Dubost - http://www.w3.org/People/karl/
W3C Conformance Manager, QA Activity Lead
   QA Weblog - http://www.w3.org/QA/
      *** Be Strict To Be Cool ***
Received on Thursday, 6 September 2007 03:53:23 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:56:17 UTC