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

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

From: Norman Walsh <ndw@nwalsh.com>
Date: Wed, 23 Jul 2008 06:09:44 -0700
To: public-xml-processing-model-wg@w3.org
Message-ID: <m2ljzs692f.fsf@nwalsh.com>
/ Toman_Vojtech@emc.com was heard to say:
|> 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?
|> 
|
| I think one possible use of the 'namespace' attribute would be for
| parameters that are dynamically generated (I think there is no easy way
| to create namespace declarations in XProc). Perhaps we could make 'name'
| a NCName?

Right. If you use @namespace, I'm thinking that @name should be an NCName.

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com> | There is nothing which human courage
http://nwalsh.com/            | will not undertake, and little that
                              | human patience will not endure.--Dr.
                              | Johnson

Received on Wednesday, 23 July 2008 13:10:38 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 23 July 2008 13:10:39 GMT