On Fri, Jan 30, 2009 at 12:22 PM, Tim Perrett <he...@timperrett.com> wrote:

>
> The xml is:
>
> <?xml version="1.0"?>
> <user>
>  <email>sdfsdfsdf</email>
> </user>
>
> I've tried all sorts, but still no cigar.... any ideas?


Try:
<user>
 <email>sdfsdfsdf</email>
</user>



>
>
> Cheers, Tim
>
>
> On Jan 30, 8:17 pm, David Pollak <feeder.of.the.be...@gmail.com>
> wrote:
> > On Fri, Jan 30, 2009 at 12:12 PM, Tim Perrett <he...@timperrett.com>
> wrote:
> >
> > > Guys,
> >
> > > Just writing a little rest service, and I want to process the incoming
> > > XML... The Req class has the following methods:
> >
> > > xml_? : Boolean
> > > xml: Box[Elem]
> >
> > > Now then, xml_? is returning true, and the content-length header is
> > > the correct length, but req.xml always, always returns Empty.
> >
> > > FYI, even trying to do:
> >
> > > req.body // => Empty
> >
> > > Any ideas why this might be happening?
> >
> > The XML is not well formed.
> >
> >
> >
> > > Cheers
> >
> > > Tim
> >
> > --
> > Lift, the simply functional web frameworkhttp://liftweb.net
> > Beginning Scalahttp://www.apress.com/book/view/1430219890
> > Follow me:http://twitter.com/dpp
> > Git some:http://github.com/dpp
> >
>


-- 
Lift, the simply functional web framework http://liftweb.net
Beginning Scala http://www.apress.com/book/view/1430219890
Follow me: http://twitter.com/dpp
Git some: http://github.com/dpp

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to