I think a fix to this was pushed this morning. Once this job is finished: http://hudson.scala-tools.org/job/Lift/1367/ It should be available on SNAPSHOT.
On Tue, Nov 10, 2009 at 1:49 PM, harryh <har...@gmail.com> wrote: > > This is on M7: > > scala> import > scala.xml.Elem > import scala.xml.Elem > > scala> import > net.liftweb.json.JsonAST._ > import net.liftweb.json.JsonAST._ > > scala> import > net.liftweb.json._ > import net.liftweb.json._ > > scala> def go(e: Elem) = Printer.pretty(render(Xml.toJson > (e))) > go: (scala.xml.Elem)String > > scala> <tips><group type="Nearby"><tip><id>10</id></tip></group></ > tips> > res0: scala.xml.Elem = <tips><group type="Nearby"><tip><id>10</id></ > tip></group></tips> > > scala> go > (res0) > res1: String = { "tips":{ "group":{ "type":"Nearby", "tip": > { "id":"10" } }, "type":"Nearby" } } > > Note how "Nearby" appears twice in res1 but only once in res0 > > -harryh > > > > -- Lift, the simply functional web framework http://liftweb.net Beginning Scala http://www.apress.com/book/view/1430219890 Follow me: http://twitter.com/dpp Surf the harmonics --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---