RE: Wait for User Input

BTW, Geert: it started out the other way - the XProc was to embed the
web thingy, basically because the XProc is what I can easily control and
change while a colleague does the server part.

Best,

/Ari

>>> Geert Josten  05/16/13 9:45 AM >>>
<!--/* Font Definitions */@font-face{font-family:Calibri;panose-1:2 15 5
2 2 2 4 3 2 4;}@font-face{font-family:Tahoma;panose-1:2 11 6 4 3 5 4 4 2
4;}@font-face{font-family:"Times New Roman TUR";panose-1:0 0 0 0 0 0 0 0
0 0;}@font-face{font-family:"Times New Roman Baltic";panose-1:0 0 0 0 0
0 0 0 0 0;}/* Style Definitions */p.MsoNormal, li.MsoNormal,
div.MsoNormal{margin:0cm;margin-bottom:.0001pt;font-size:12.0pt;font-family:"Times
New Roman","serif";}a:link,
span.MsoHyperlink{mso-style-priority:99;color:blue;text-decoration:underline;}a:visited,
span.MsoHyperlinkFollowed{mso-style-priority:99;color:purple;text-decoration:underline;}span.E-mailStijl17{mso-style-type:personal-reply;font-family:"Calibri","sans-serif";color:#1F497D;}.MsoChpDefault{mso-style-type:export-only;font-size:10.0pt;}@page
WordSection1{size:612.0pt 792.0pt;margin:70.85pt 70.85pt 70.85pt
70.85pt;}div.WordSection1{page:WordSection1;}-->Hi Ari,
 
Sounds like you are trying to embed XProc inside a web app, and do web
app round-trips. Waiting for console input is quite different from
waiting for input from a browser. I have played with the Cocoon
framework that had a continuation mechanism for this, but that involved
a complex mechanism of preserving processing state. Usually it is way
easier to just recall some app code with additional parameters, and
decide based on that in which state you actually are. Bit like a single
JSP or XQY that does both search input and showing of search results,
stuff like that.
 
Did you look into using ServleX for this?
 
Kind regards,
Geert
 
Van: Romain Deltour [mailto:rdeltour@gmail.com] 
Verzonden: donderdag 16 mei 2013 9:13
Aan: "Ari Nordström"
CC: xproc-dev@w3.org
Onderwerp: Re: Wait for User Input


 
I've never written one but I've thought about the possibility many
times. I believe that nothing in the spec disallows a step to wait for
an external event to complete. I also believe that it might work OK out
of the box in some editing processors (e.g. Calabash), since I'm not
aware of any timeout mechanism or anything else of the like.
 

Could you please report any results of further experiments ?
 

Romain.

 
 

 
On 16 mai 2013, at 07:32, "Ari Nordström" <Ari.Nordstrom@condesign.se>
wrote:




Hi,

Has anyone done a pipeline that will wait for user input? For example,
let's say you start an XForm with a http-request of some description and
then wait for the results of that XForm so you can use it in a later
step? Or would you have to end that pipeline and start a new one for the
results?

I've been banging my head against the virtual wall with this. The closes
I've come when googling for what others have done was a post from Kurt
Cagle that basically suggested such an extension, a few years back.

Any ideas and input would be greatly appreciated.

All the best,

Ari Nordström
Ari Nordström
Senior Consultant 

Condesign Operations Support AB
Phone +46 31 744 17 91
Mobile +46 736 000 333
Email ari.nordstrom@condesign.se 

 
This message is for the designated recipient only and may contain
privileged, proprietary, or otherwise private information.  If you have
received it in error, please notify the sender immediately and delete
the original.  Any other use of the email by you is prohibited. 

Condesign AB, 556255-8313, säte Göteborg; Condesign Automation AB,
556271-3676, säte Göteborg; Condesign Engineering AB, 556469-2092 säte
Göteborg; Condesign Infocom AB, 556453-7172, säte Ljungby; Condesign
InfoProductions AB, 556385-4255, säte Linköping; Condesign Operations
Support AB, 556307-1231, säte Göteborg. 




 







This message is for the designated recipient only and may contain
privileged, proprietary, or otherwise private information.  If you have
received it in error, please notify the sender immediately and delete
the original.  Any other use of the email by you is prohibited.
 
Condesign AB, 556255-8313, säte Göteborg; Condesign Automation AB,
556271-3676, säte Göteborg; Condesign Engineering AB, 556469-2092 säte
Göteborg; Condesign Infocom AB, 556453-7172, säte Ljungby; Condesign
InfoProductions AB, 556385-4255, säte Linköping; Condesign Operations
Support AB, 556307-1231, säte Göteborg.
 

Received on Thursday, 16 May 2013 08:14:15 UTC