W3C home > Mailing lists > Public > public-xml-processing-model-wg@w3.org > July 2008

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

From: Norman Walsh <ndw@nwalsh.com>
Date: Tue, 22 Jul 2008 10:11:33 -0700
To: public-xml-processing-model-wg@w3.org
Message-ID: <m2tzehhmii.fsf@nwalsh.com>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 22 July 2008 17:12:33 GMT