[Zope3-Users] unexpected ':' char in declaration
Florian Lindner
mailinglists at xgm.de
Thu Nov 11 04:00:34 EST 2004
Leeuw van der, Tim schrieb:
> Hi Florian,
>
> Looking at the error message, I would look at your page template file (event.pt), not at the zcml... ?
Here we go:
<html metal:use-macro="context/@@standard_macros/page">
<body>
<div id="content" metal:fill-slot="content">
<h2>Event</h2>
<strong>Titel:</strong> <span
tal:replace="context/name">Testtitle</span><br />
<strong>Beschreibung:</strong> <span
tal:replace="context/description">Testbeschreibung</span><br />
<strong>Ort:</strong> <span
tal:replace="context/location">Location</span><br />
</div>
</body>
</html>
>
> -----Original Message-----
> From: zope3-users-bounces at zope.org [mailto:zope3-users-bounces at zope.org]On Behalf Of Florian Lindner
> Sent: Thursday, November 11, 2004 9:51 AM
> To: zope3-users at zope.org
> Subject: [Zope3-Users] unexpected ':' char in declaration
>
>
> Hello,
> I call:
>
> http://localhost:8080/++skin++centershock/eventfolder/event1/event.html
>
> and this prints out:
>
> A system error occurred.
>
> In the server log: (please see at the end of the mail)
>
> event.html is registered as follows:
>
> <page
> for="CS.interfaces.IEvent"
> name="event.html"
> permission="zope.Public"
> layer="centershock"
> template="event.pt" />
>
>
> Mmhh, what other information do you need? I really don't understand the
> error and where it occurs.
> And why does favicon is not found. It think it's provided by the
> rotterdam layer since my layer is registered as follows:
>
> <layer name="centershock" />
> <skin name="centershock" layers="centershock rotterdam default" />
>
> Thanks,
>
> Florian
>
>
>
> 2004-11-11T12:44:24 INFO root Startup time: 1.963 sec real, 1.956 sec CPU
> ------
> 2004-11-11T12:44:29 ERROR root PageTemplateFile: Error in template:
> Compilation failed
> HTMLParser.HTMLParseError: unexpected ':' char in declaration, at line
> 2, column
> 3
>
More information about the Zope3-users
mailing list