Re: XHR: sending documents

2007-02-28 Thread Robin Berjon
On Feb 22, 2007, at 09:50, Bjoern Hoehrmann wrote: I would suggest to remove (the XML declaration) since xmlEncoding is not the XML declaration, and turning it into e.g. (as derived from the XML declaration) is unnecessarily long. The last sentence is not really appropriate for XML

Re: XHR: sending documents

2007-02-28 Thread Alexey Proskuryakov
On 2/26/07 5:29 PM, Robin Berjon [EMAIL PROTECTED] wrote: I think there needs to be a node clearly stating that even if you try to send a HTMLDocument, it will be serialized as if it were XML. Agreed. Does the XHTML namespace get added automagically? It is not added by Firefox or Opera.

Re: XHR: sending documents

2007-02-28 Thread Anne van Kesteren
On Mon, 26 Feb 2007 15:29:14 +0100, Robin Berjon [EMAIL PROTECTED] wrote: I would suggest to remove (the XML declaration) since xmlEncoding is not the XML declaration, and turning it into e.g. (as derived from the XML declaration) is unnecessarily long. The last sentence is not really

XHR: sending documents

2007-02-22 Thread Bjoern Hoehrmann
Hi, For send(Document) the draft says data must be serialized into a namespace well-formed XML document and encoded using the encoding given by data.xmlEncoding (the XML declaration), if specified, or UTF-8 otherwise. The serialization must include an XML declaration when the final