c:param name="x:foo" namespace="someURI"?

In c:param, we say:

  If the namespace attribute is specified, then the expanded name of
  the parameter is constructed from the specified namespace and the
  local-name part of the name value (in other words, the prefix, if
  any, is ignored).

Why did we do that? It implies that

  <c:param xmlns:x="http://not-this-namespace.org/"
           name="x:foo"
           namespace="http://this-namespace/"
           value="bar"/>

produces a parameter named "foo" in the "http://this-namespace/" namespace.
That seems...misleading at best. Why didn't we make that an error?

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com> | We are afraid of the old age which we
http://nwalsh.com/            | may never attain.--La Bruyère

Received on Tuesday, 22 July 2008 17:12:32 UTC