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

Chameleon components

From: Norman Walsh <Norman.Walsh@Sun.COM>
Date: Tue, 06 Feb 2007 11:14:18 -0500
To: public-xml-processing-model-wg@w3.org
Message-ID: <87y7nbl0v9.fsf@nwalsh.com>
A couple of recent threads have indicated support for a sort of
chameleon component that I'd just assumed we wouldn't touch with a ten
foot pole.


  <p:step type="validate">...</p:step>

can do one of several different kinds of validation (XSD, RNG, SCH)

  <p:step type="xslt">...</p:step>

can perform either XSLT 1.0 or XSLT 2.0 transformations, then I
think we have a clear need for two different types of parameters
(which I'd been hoping, perhaps naively, that we could avoid).

If we're going to go this way, I wonder if it's worth revisiting the
names of components. Using the types as the GIs would give us two
places to put parameters: on the element or in a p:parameter.

  <p:validate language="http://www.w3.org/2001/XMLSchema">


  <p:xslt version="2.0">
    <p:param version="1.2"/>

would be unambiguous.

                                        Be seeing you,

Norman Walsh
XML Standards Architect
Sun Microsystems, Inc.

Received on Tuesday, 6 February 2007 16:14:48 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:32:41 UTC