W3C home > Mailing lists > Public > xproc-dev@w3.org > July 2009

RE: Difficulty overriding parameter values

From: <Toman_Vojtech@emc.com>
Date: Fri, 3 Jul 2009 08:33:28 -0400
Message-ID: <6E216CCE0679B5489A61125D0EFEC78710148A0F@CORPUSMX10A.corp.emc.com>
To: <xproc-dev@w3.org>
I remember discussing this some time ago, but I cannot find when and
what the conclusion was. I think that:
 
<p:pipeline>
  <p:input port="source">
    <p:document href="..."/>
  </p:input>
  ...
</p:pipeline>
 
is allowed, because p:pipeline is just a shortcut for p:declare-step.
And in p:declare-step, you can provide default bindings for the input
ports. But I vaguely remember there was something strange about
p:pipeline in this regard.
 
As I said, our implementation does allow this, but it may be a bug.
Norm?
 
Regards,
Vojtech


________________________________

	From: xproc-dev-request@w3.org [mailto:xproc-dev-request@w3.org]
On Behalf Of Toman_Vojtech@emc.com
	Sent: Friday, July 03, 2009 1:41 PM
	To: xproc-dev@w3.org
	Subject: RE: Difficulty overriding parameter values
	
	
	In our implementation it works. But perhaps it is a bug, I will
have to check.
	 
	Regards,
	Vojtech


________________________________

		From: xproc-dev-request@w3.org
[mailto:xproc-dev-request@w3.org] On Behalf Of Kevin Flynn
		Sent: Friday, July 03, 2009 1:22 PM
		To: xproc-dev@w3.org
		Subject: Re: Difficulty overriding parameter values
		
		
		Yes, I understand that, but if I actually need to
explicitly bind one of the ports like this:
		
		      <p:input port="source">
		        <p:document href="import.ebp"/>
		      </p:input>
		
		how do I do it?
		
		Regards,
		
		Kevin
		
		Toman_Vojtech@emc.com wrote: 

			When you use p:pipeline, you automatically get
'source', 'result' and 'parameters' ports. That is why you get the
XS0011 errors.
			 
			Regards,
			Vojtech


________________________________

				From: xproc-dev-request@w3.org
[mailto:xproc-dev-request@w3.org] On Behalf Of Kevin Flynn
				Sent: Friday, July 03, 2009 12:22 PM
				To: xproc-dev@w3.org
				Subject: Re: Difficulty overriding
parameter values
				
				

				Well, I run into other problems then:
				
				Error  : XS0011: Duplicate port name:
source
				Error  : XS0011: Duplicate port name:
parameters
				Error  : XS0011: Duplicate port name:
result
				
				and I need to be able to declare the
source port so I can bind it to my source file.
				
				I'll send a mail to Norman Walsh.
				
Received on Friday, 3 July 2009 12:34:25 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 3 July 2009 12:34:26 GMT