Hey! I'm quite baffled by this - Template flottest.html: <lift:surround with="flotsupport" at="content"> <script type="text/javascript"> var i=0; while (i < 14) { i = i + 5; }; </script> <h2>H2</h2> </lift:surround> Template flotsupport.html (in templates-hidden): <html xmlns="http://www.w3.org/1999/xhtml" xmlns:lift="http:// liftweb.net/"> <head> <title>Flot Toolkit Test Page</title> </head> <body> <h1>Flot Skeleton Page</h1> <div> <lift:bind name="content" /> </div> </body> </html>
Can't get past: scala.xml.dtd.ValidationException: :4:19: name expected net.liftweb.util.PCDataXmlParser.reportSyntaxError (PCDataMarkupParser.scala:168) scala.xml.parsing.MarkupParser$class.reportSyntaxError (MarkupParser.scala:1117) net.liftweb.util.PCDataXmlParser.reportSyntaxError (PCDataMarkupParser.scala:91) scala.xml.parsing.MarkupParser$class.xName(MarkupParser.scala:708) net.liftweb.util.PCDataXmlParser.xName(PCDataMarkupParser.scala:91) scala.xml.parsing.MarkupParser$class.xTag(MarkupParser.scala:360) net.liftweb.util.PCDataXmlParser.xTag(PCDataMarkupParser.scala:91) scala.xml.parsing.MarkupParser$class.element1(MarkupParser.scala:667) If I put a while for for loop in the script I get the parsing error. WTF? (lift-1.1M4, jetty-6.1.6rc1 inside maven-2.0.10, jdk 1.6.0_14-b08, Linux, Firefox...) Thanks, Mark --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---