W3C home > Mailing lists > Public > public-html@w3.org > September 2007

Re: the document character set for text/thml serialization

From: Anne van Kesteren <annevk@opera.com>
Date: Sun, 09 Sep 2007 20:26:08 +0200
To: "HTML WG" <public-html@w3.org>
Message-ID: <op.tyef5uxb64w2qv@annevk-t60.oslo.opera.com>

On Sun, 09 Sep 2007 18:20:03 +0200, Julian Reschke <julian.reschke@gmx.de>  
> Anne van Kesteren wrote:
>> On Sun, 09 Sep 2007 16:11:34 +0200, Julian Reschke  
>> <julian.reschke@gmx.de> wrote:
>>> We really should answer the question we asked before: why would it be  
>>> conforming to include those characters in the first place?
>>  I can see a good reason to prohibit U+0000 (and that's done), but what  
>> is the reason for making these other characters non-conforming? They  
>> are not posing any interoperability problem and are also supported by  
>> the DOM. I'm not sure why we should limit the HTML serialization here.
> So what's the semantics of these characters when they occur inside HTML?  
> What is a recipient supposed to do with them, for instance, when they  
> appear inside <p> or a <pre> element?

They should do the same as whenever someone inserts them through the DOM.  
Seems that browsers display some type of placeholder character:  

It's not entirely clear to me whether that's in scope of HTML though. We  
just need to define the "byte stream -> tree" mapping. Although maybe it  
could be part of the rendering chapter, dunno.

Anne van Kesteren
Received on Sunday, 9 September 2007 18:26:24 UTC

This archive was generated by hypermail 2.4.0 : Saturday, 9 October 2021 18:44:21 UTC