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

Re: Chameleon Component Summary & Proposal

From: Alex Milowski <alex@milowski.org>
Date: Fri, 16 Feb 2007 09:32:23 -0800
Message-ID: <28d56ece0702160932w318a84cbuc749b6960e4b8c87@mail.gmail.com>
To: public-xml-processing-model-wg@w3.org
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:21:49 GMT