The xml stuff goes in its own 'hello.xml' file, not in the factor source. I'll be clearer next time, my bad.
Diego On Sun, May 3, 2009 at 10:52 AM, Ludovic Kuty <[email protected]> wrote: > Hello, > > I get this: > > /Users/ludo/Documents/prog/factor/hello-web/hello-web.factor > ==== hello-web: > /Users/ludo/Documents/prog/factor/hello-web/hello-web.factor: > 29: <?xml version='1.0' ?> > No word named ``<?xml'' found in current vocabulary search path > > Do I have to add a vocabulary to the search path ? > > On 3 May 2009, at 10:14, Diego Martinelli wrote: > >> Hi Slava, >> it works well now, even without wrapping an <alloy> on the dispatcher. >> The error was in the very first line of the template. I removed the >> space after the question mark and now it's fine. >> This doesn't work (response error): >> >> <? xml version='1.0' ?> >> >> This does instead: >> >> <?xml version='1.0' ?> >> >> :P >> >> Thanks anyway! >> Diego >> >> On Sun, May 3, 2009 at 2:20 AM, Slava Pestov <[email protected]> >> wrote: >>> Hi Diego, >>> >>> Try wrapping your dispatcher in an <alloy>. Take a look at >>> webapps.counter and webapps.calculator for self-contained 'Hello >>> world'-style examples. >>> >>> Slava >>> >>> On Sat, May 2, 2009 at 2:54 AM, Diego Martinelli >>> <[email protected]> wrote: >>>> Hi all, >>>> I'm playing around with furnace but it seems I'm doing something >>>> wrong >>>> at a very basic level. >>>> I tried a simple hello world application with a dummy chloe template >>>> but pointing my browser to localhost:8080 I get only an enigmatic >>>> 'Response Error' page. >>>> >>>> Here's the code for both factor responder and chloe template: >>>> http://paste.factorcode.org/paste?id=633 >>>> >>>> I'm on Vista running cygwin with the latest sources from the winnt >>>> clean branch. Also tried in XP, but got the same error. >>>> Any hints? >>>> Also, how can I inspect such erroneous responses to see what's >>>> really happening? >>>> >>>> Thanks, >>>> Diego >>>> >>>> ------------------------------------------------------------------------------ >>>> Register Now & Save for Velocity, the Web Performance & Operations >>>> Conference from O'Reilly Media. Velocity features a full day of >>>> expert-led, hands-on workshops and two days of sessions from >>>> industry >>>> leaders in dedicated Performance & Operations tracks. Use code >>>> vel09scf >>>> and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf >>>> _______________________________________________ >>>> Factor-talk mailing list >>>> [email protected] >>>> https://lists.sourceforge.net/lists/listinfo/factor-talk >>>> >>> >>> ------------------------------------------------------------------------------ >>> Register Now & Save for Velocity, the Web Performance & Operations >>> Conference from O'Reilly Media. Velocity features a full day of >>> expert-led, hands-on workshops and two days of sessions from industry >>> leaders in dedicated Performance & Operations tracks. Use code >>> vel09scf >>> and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf >>> _______________________________________________ >>> Factor-talk mailing list >>> [email protected] >>> https://lists.sourceforge.net/lists/listinfo/factor-talk >>> >> >> ------------------------------------------------------------------------------ >> Register Now & Save for Velocity, the Web Performance & Operations >> Conference from O'Reilly Media. Velocity features a full day of >> expert-led, hands-on workshops and two days of sessions from industry >> leaders in dedicated Performance & Operations tracks. Use code >> vel09scf >> and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf >> _______________________________________________ >> Factor-talk mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/factor-talk > > > ------------------------------------------------------------------------------ > Register Now & Save for Velocity, the Web Performance & Operations > Conference from O'Reilly Media. Velocity features a full day of > expert-led, hands-on workshops and two days of sessions from industry > leaders in dedicated Performance & Operations tracks. Use code vel09scf > and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf > _______________________________________________ > Factor-talk mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/factor-talk > ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf _______________________________________________ Factor-talk mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/factor-talk
