Hi Michael, I suggest you carefully check for spaces in your templates. I've sent XML responses from RIFE many times without this issue, so I doubt it's a bug in RIFE.
Best regards, Geert On 25 Mar 2009, at 00:00, michaelCH wrote: > > Hello Geert, Daniel! > > Thank you for your support. > It could help me to find the issue I am fighting with. > > I am sending xml response using xml template. In the first line there > is a declaration: > <?xml version="1.0" encoding="UTF-8"?> > > 1. When I do not include in main template other template there is no > space " " in front of <?xml version="1.0" encoding="UTF-8"?> > 2. When I include in main template other template there IS a space " " > in front of <?xml version="1.0" encoding="UTF-8"?> > > So in a second case client can not parse the response. > > Could it be some bug in rife? Or the problem can be somewhere else ? > > Kind regards, > Michael Chudas. > > > > On Mar 24, 3:49 pm, "Daniel K. Nyoto" <dny...@hotmail.com> wrote: >> Hi Michael, >> >> You can do template.getContent() before you print it. Maybe it's >> enough to serve your need. >> >> Kind regards, >> Daniel K. Nyoto >> >>> Date: Tue, 24 Mar 2009 06:34:30 -0700 >>> Subject: [rife-users] Lookup of http repsonse >>> From: michaelchu...@3my.eu >>> To: rife-users@googlegroups.com >> >>> Hi Geert! >> >>> Could you explain me where I can lookup generated body of the http >>> response after calling print(template) in the Element? >> >>> Kind regards, >>> Michael Chudas. > > -- Geert Bevin Terracotta - http://www.terracotta.org Uwyn "Use what you need" - http://uwyn.com RIFE Java application framework - http://rifers.org Flytecase Band - http://flytecase.be Music and words - http://gbevin.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "rife-users" group. To post to this group, send email to rife-users@googlegroups.com To unsubscribe from this group, send email to rife-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rife-users?hl=en -~----------~----~----~----~------~----~------~--~---