W3C home > Mailing lists > Public > public-qt-comments@w3.org > February 2008

[Bug 4869] [FS] Enclosed expressions and namespaces

From: <bugzilla@wiggum.w3.org>
Date: Wed, 06 Feb 2008 10:41:32 +0000
CC:
To: public-qt-comments@w3.org
Message-Id: <E1JMhie-0004fE-F7@wiggum.w3.org>

http://www.w3.org/Bugs/Public/show_bug.cgi?id=4869





------- Comment #16 from davidc@nag.co.uk  2008-02-06 10:41 -------
(In reply to comment #12)
> d. Each nested direct constructor is evaluated as if....

If this change is made don't you want to apply it also to top level element
constructors not just nested ones? As I understand the proposal it would make


declare copy-namespaces no-preserve, inherit;

    <a  xmlns:p="q"><b/></a>


produce 

<a xmlns:p="q">
   <b/>
</a>


(as now)

but

declare copy-namespaces no-preserve, inherit;

    <a><b xmlns:p="q"/></a>



which currently produces
<a>
   <b xmlns:p="q"/>
</a>


to change to produce
<a>
   <b/>
</a>


If it is thought desirable to change the second example to lose the generated
namespace declaration, why not the first?

David
Received on Wednesday, 6 February 2008 10:41:44 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:14:49 GMT