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

/ 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 UTC