RE: do computed namespace add to in-scope namespaces?

We have discovered that there is some confusion in the spec relating to
computed namespace constructors, as a result of the WG accepting two
proposals that weren't consistent with each other. We need to do more work
on it.

Michael Kay

> -----Original Message-----
> From: Per Bothner [mailto:per@bothner.com] 
> Sent: 26 August 2003 16:23
> To: public-qt-comments@w3.org
> Subject: do computed namespace add to in-scope namespaces?
> 
> 
> 
> Section 3.7.3.7 "Computed Namespace Constructors" states
> a computed namespace constructor "adds the namespace
> prefix to the in-scope namespaces for its encloding
> arguments".  But how is this possible?  The in-scope
> namespaces are part of the *static context*, and the
> name and content expressions are both evaluated at
> run-time.
> 
> Is this valid?  I would assume not.
> 
> element foo {
>    namespace {"ns"} {"..."},
>    <ns:bar />
> }
> -- 
> 	--Per Bothner
> per@bothner.com   http://per.bothner.com/
> 
> 
> 

Received on Wednesday, 27 August 2003 12:37:13 UTC