W3C home > Mailing lists > Public > whatwg@whatwg.org > April 2006

[whatwg] id and xml:id

From: Henri Sivonen <hsivonen@iki.fi>
Date: Sun, 2 Apr 2006 22:53:14 +0300
Message-ID: <ADDF7BB3-8B05-4241-8525-82A4FF2EB3CD@iki.fi>
On Apr 2, 2006, at 19:26, Anne van Kesteren wrote:

> I agree. Note also that the repetition template also allows for  
> characters that
> are compatible with XML ID. Of course, this is only for valid  
> documents... All
> things should still be defined in a way that they take into account  
> invalid,
> yet well-formed, documents as well. (And HTML documents...)

I am interested in conforming DTD-invalid well-formed XHTML documents  
and conforming HTML documents. I think that whatever is allowed as an  
id attribute value in conforming HTML documents should also be  
conforming as a value of an id attribute in XHTML (but not  
necessarily conforming as an xml:id value) in order to allow XHTML- 
serializability of conforming HTML docs.

(I am not interested in DTD-valid documents. I consider DTDs harmful.)

-- 
Henri Sivonen
hsivonen at iki.fi
http://hsivonen.iki.fi/
Received on Sunday, 2 April 2006 12:53:14 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:46 UTC