Re: XML, namespaces, extensibility and validation

hmm mistake!

I had two title openings.

Karl Dubost (6 sept. 2007 - 12:52) :
> This is a conformant HTML 5 document.
>
> <!DOCTYPE html>
> <title>life is beautiful</title>
> <p>
>
>
> You would issue warnings for "bar" attribute and "foo" element.
>
> <!DOCTYPE html>
> <title>life is beautiful</title>
> <p bar>
> <foo>
>
> 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>
> <p>
>
> In Camino (Firefox 2 engine),

<!DOCTYPE HTML><html><head><title>life &lt;foo bar&gt;is beautiful</ 
title></head><body><p>
</p></body></html>


> In Safari 2.0,

<!DOCTYPE HTML><html><HEAD><TITLE>life &lt;foo bar&gt;is beautiful</ 
TITLE></HEAD><BODY><P></P></BODY></html>

http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C!DOCTYPE% 
20html%3E%0A%3Ctitle%3Elife%20%3Cfoo%20bar%3Eis%20beautiful%3C%2Ftitle 
%3E%0A%3Cp%3E%0A


-- 
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:58:48 UTC