For some reason, the index.html file is not valid XML.

What development tool/environment are you using?  What character encoding
are you using (UTF-8 is the preferred encoding)?

Please attach the failing file to your response so that I can see the exact
problem.

On Sat, Dec 13, 2008 at 10:25 PM, Stefan Scott
<stefanscottal...@gmail.com>wrote:

>
> Hi -
>
> On page 14 of the ToDo tutorial here:
>
>
> http://groups.google.com/group/liftweb/browse_thread/thread/0d99974c622262d5#
>
> after I edit the file 'src/main/webapp/index.html' so that it now
> reads:
>
> <lift:surround with="default" at="content">
> <lift:Util.out>Please
> <lift:menu.item name="Login">Log In</lift:menu.item>
> </lift:Util.out>
> </lift:surround>
>
> and I stop jetty (Ctl-C) and then recompile/restart with 'mvn
> jetty:run'...
>
> I get the following error in the browser on the first screen:
>
> ========================================================
> XML Parsing Error: syntax error
> Location: http://localhost:8080/
> Line Number 4, Column 1:Please
> ========================================================
>
>
> If I remove the word "Please" from that file, I get a different error:
>
> ========================================================
> This XML file does not appear to have any style information associated
> with it.
> The document tree is shown below.
>
> <a href="/user_mgt/login">Please Log In</a>
> ========================================================
>
>
> If I replace my '~\jetty\webapps\todo' directory with the *completed*
> todo.tgz archive supplied with the tutorial (thereby skipping ahead a
> few steps in the tutorial) and recompile/restart, it works fine. But
> if I create these steps myself, I keep getting these XML errors.
>
> Any suggestions? Am I missing a file somewhere?
>
> Thanks!
>
> - Stefan Scott
>
>
>
>
> >
>


-- 
Lift, the simply functional web framework http://liftweb.net
Collaborative Task Management http://much4.us
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