Re: declare-step type

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