[Bug 15180] Default handling of non-XHTML XML docs is under-/un- specified

https://www.w3.org/Bugs/Public/show_bug.cgi?id=15180

--- Comment #6 from Robin Berjon <robin@w3.org> 2012-09-06 14:32:52 UTC ---
Actually, the rules for processing this appear to be more complex than just the
lack of association with a style sheet.

For instance, if you serve (as XML) the following XML document:

    <foo><p>foo</p></foo>

You will consistently get the tree source rendering. If however you modify it
to be:

    <foo><p xmlns='http://www.w3.org/1999/xhtml'>foo</p></foo>

or even:

    <foo><zorglub xmlns='http://www.w3.org/1999/xhtml'>foo</zorglub></foo>

Then the rendering reverts to HTML, irrespective of how far in the document the
namespace declaration appears. This works using prefixes too. The namespace
declaration on its own is not enough though.

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Thursday, 6 September 2012 14:33:02 UTC