W3C home > Mailing lists > Public > www-html@w3.org > June 2005

Re: [XHTML 2] 24.1 OBJECT declare and "completed loading" (PR#7751)

From: Spartanicus <spartanicus.3@ntlworld.ie>
Date: Wed, 01 Jun 2005 08:21:17 +0100
Message-ID: <n2m-g.innq91pr9u14fqsi4sednnd724ulv2fjte@news.spartanicus.utvinternet.ie>
To: www-html@w3.org

"Brad Pettit" <bradp@microsoft.com> wrote:

>What if the Xhtml document is not well-formed? Even a non-validating Xml
>parser is required to check for well-formedness before determing whether
>the document is xml:
>Document well-formedness -- or the lack thereof -- might not be
>determined until the end of the content is reached. Is it wise to be
>executing <object> elements -- particularly those that reference code
>external to the browser -- as they are encountered during the process of
>loading a potentially incomplete or incorrect document? 

Embedding external HTML with the object element may only reference a
full html document, not a code fragment. Don't confuse embedding another
html document with something like server side inclusion.

A xml parser must therefore parse an embedded html document as a
separate document, if it is also an xml document then well formdness
must be established by the parser independently from the document in
which it is embedded.

Received on Wednesday, 1 June 2005 07:20:03 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:06:10 UTC