One thing Id like to challenge the rational of within:

http://github.com/dpp/liftweb/tree/master/lift/src/main/scala/net/liftweb/http/rest/XMLApiHelper.scala

is line 70:

def createTag(in: NodeSeq): Elem

In your class that extends this trait, you implement this method
something like:

def createTag(in: NodeSeq) = <badger>{in}</badger>

Lets assume your api method returns a list of articles, the semtantic
IMO, should be:

<articles>
  <article>
  ...
  </article>
  ...
</articles>

But because of this createTag method, the tag being wrapped around the
body you get the badger tag wrapping a list of articles. From a
semantic POV, id say this is counter-intuitive. Badgers have no
bearing on articles! How could it be implemented so its possible to
define the root tag?

Cheers

Tim


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

Reply via email to