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

Re: declare-step type

From: Henry S. Thompson <ht@inf.ed.ac.uk>
Date: Wed, 21 Mar 2007 12:11:49 +0000
To: Norman Walsh <Norman.Walsh@Sun.COM>
Cc: public-xml-processing-model-wg@w3.org
Message-ID: <f5b1wjig5iy.fsf@hildegard.inf.ed.ac.uk>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Norman Walsh writes:

> I think this will prove to be (at least tangentially) related to the
> discussion of the names of steps.
>
> I propose that the type attribute of declare-step be interpreted with
> XSLT semantics: that is, if the lexical value does not include a colon
> then the name is in no namespace.

Why?  What's wrong with writing:

<p:pipeline-library xmlns="http://www.example.com/specialSteps">

  <p:declare-step type="foo">
    <p:input port="source/">
    <p:output port="result"/>
  </p:declare-step>

  <p:declare-step type="bar">
    <p:input port="source/">
    <p:input port="otherstuff/">
    <p:output port="result"/>
  </p:declare-step>

</p:pipeline-library>

Seems an obvious sort of thing to do. . .

> I further propose that we declare it an error to declare a type in no
> namespace.

I guess. . . 

ht
- -- 
 Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
                     Half-time member of W3C Team
    2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440
            Fax: (44) 131 650-4587, e-mail: ht@inf.ed.ac.uk
                   URL: http://www.ltg.ed.ac.uk/~ht/
[mail really from me _always_ has this .sig -- mail without it is forged spam]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQFGASEFkjnJixAXWBoRAkIQAJ9ql/ke1jtV7eyLQVgQdUXX3wElxQCggR5+
831C+AE2Op/8QhuX6CSebS4=
=O8ff
-----END PGP SIGNATURE-----
Received on Wednesday, 21 March 2007 12:12:05 GMT

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