Re: Chameleon Component Summary & Proposal

On 2/16/07, Norman Walsh <Norman.Walsh@sun.com> wrote:
>
> I'd be happy with this extension as long as we mandated that the
> "parameters as sub-elements" have to be recognized by the processor.
> In other words,
>
>    <my:munge name="get.resource">
>       <my:mime-type>application/pdf</my:mime-type>
>       <my:mime-type>image/jpeg</my:mime-type>
>       <other-ns:other-param>something</other-ns:other-param>
>    </my:munge>
>
> is a static error unless I recognize the other-ns namespace.
>
> For interoperability, I don't want some sub-elements getting ignored
> by some processors.



Absolutely.  I was expecting that but I didn't say that in my proposal.

It would also be an error to have an attribute and a child element for the
same configuration parameter name.

-- 
--Alex Milowski
"The excellence of grammar as a guide is proportional to the paucity of the
inflexions, i.e. to the degree of analysis effected by the language
considered."

Bertrand Russell in a footnote of Principles of Mathematics

Received on Friday, 16 February 2007 17:32:32 UTC