[Lift] Re: Req lazy val xml not working

2009-01-30 Thread David Pollak
On Fri, Jan 30, 2009 at 12:22 PM, Tim Perrett he...@timperrett.com wrote:


 The xml is:

 ?xml version=1.0?
 user
  emailsdfsdfsdf/email
 /user

 I've tried all sorts, but still no cigar any ideas?


Try:
user
 emailsdfsdfsdf/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
-~--~~~~--~~--~--~---



[Lift] Re: Req lazy val xml not working

2009-01-30 Thread Tim Perrett

 
 Try:
 user
   emailsdfsdfsdf/email
 /user
 

I'd already tried before, that and still no luck. I've also tried just
getting it to print something out that was passed. Even param1=badger type
post requests, but no luck.

Thoughts?

Cheers, Tim



--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[Lift] Re: Req lazy val xml not working

2009-01-30 Thread David Pollak
On Fri, Jan 30, 2009 at 12:28 PM, Tim Perrett he...@timperrett.com wrote:


 
  Try:
  user
emailsdfsdfsdf/email
  /user
 

 I'd already tried before, that and still no luck. I've also tried just
 getting it to print something out that was passed. Even param1=badger type
 post requests, but no luck.

 Thoughts?


Please write up a test case that fails and I'll fix it.




 Cheers, Tim



 



-- 
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
-~--~~~~--~~--~--~---