[EMAIL PROTECTED] schrieb:
>       <APPLET CODE='vncviewer.class' ARCHIVE='/static/vncviewer.jar'
> WIDTH='800' HEIGHT='600'>
>       <PARAM name=PORT value=${display}>
>       <PARAM name=HOST value=${host}>
>       <PARAM name=ENCODING value=Hextile>
>       </APPLET>
> 
> when loading, this fails with:
> 
> ...
> File "/usr/lib/python2.5/site-packages/kid-0.9.5-py2.5.egg/kid/
> parser.py", line 432, in feed
>     raise expat.ExpatError(e)
> ExpatError: Error parsing XML file '/home/john/phoenix-kvm/www/www/
> templates/console.kid':
>       <PARAM name=PORT value=${display}>
>              ^
> not well-formed (invalid token): line 10, column 13

Kid templates need to be well-formed XML, i.e. all tags need to be closed
properly. Try writing the PARAM tags with a trainling slash, i.e.


        <PARAM name="PORT" value="${display}" />
        <PARAM name="HOST" value="${host}" />
        <PARAM name="ENCODING" value="Hextile" />

Also, I think you need to quote attribute values.

Chris

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to