W3C home > Mailing lists > Public > public-xml-processing-model-comments@w3.org > January 2008

RE: p:declare-step - atomic steps vs. empty pipelines

From: <Toman_Vojtech@emc.com>
Date: Fri, 18 Jan 2008 04:38:58 -0500
Message-ID: <6E216CCE0679B5489A61125D0EFEC78709669879@CORPUSMX10A.corp.emc.com>
To: <public-xml-processing-model-comments@w3.org>

OK. Just one thing: static error XS0027 is referred to in two places:
Syntactic Shortcut for Option Values (4.7.1), and in Syntax Summaries
(3.7), each time with a different meaning. I guess this is a typo and a
different error code should be used for options.


Vojtech Toman
Principal Software Engineer
EMC Corporation

Aert van Nesstraat 45
3012 CA Rotterdam
The Netherlands


-----Original Message-----
From: public-xml-processing-model-comments-request@w3.org
[mailto:public-xml-processing-model-comments-request@w3.org] On Behalf
Of Norman Walsh
Sent: Thursday, January 17, 2008 6:17 PM
To: public-xml-processing-model-comments@w3.org
Subject: Re: p:declare-step - atomic steps vs. empty pipelines

/ Toman_Vojtech@emc.com was heard to say:
| I have a question about the "new" p:declare-step syntax with regard to

| declaring empty pipelines. It seems to me that in some cases the XProc

| processor has no way of knowing whether the declared step is an atomic

| step or an empty pipeline.

It was intended as an if-and-only-if relationship. If you're declaring
an atomic step, you must not provide a subpipeline. If you don't provide
a subpipeline, you are, by definition, declaring an atomic step.

It is a static error (err:XS0027) for a compound step to have no
contained steps. It follows, I think, that it would be an error to
attempt to declare a pipeline with no contained steps.

                                        Be seeing you,

Norman Walsh <ndw@nwalsh.com> | Linux. Because rebooting is for
http://nwalsh.com/            | hardware upgrades.
Received on Friday, 18 January 2008 09:36:07 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:28:25 UTC