[Zope3-Users] unexpected ':' char in declaration

Florian Lindner mailinglists at xgm.de
Thu Nov 11 08:49:22 EST 2004


Roger Ineichen schrieb:
> Hi, Florian,
> 
> Take a look at the root template like described at the error message:
> 
> "ERROR root PageTemplateFile: Error in template:"
>        ^^^^
> 
> Perhaps you have a error in this template.

What IS the root template:
the other template involved besides event.pt is template.pt. Here are 
the first few lines:

<metal:block define-macro="page">
   <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

   <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

     <head>


Is there a error?

Thx,
Florian


> 
> 
>>-----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 10:01 AM
>>To: Leeuw van der, Tim
>>Cc: zope3-users at zope.org
>>Subject: Re: [Zope3-Users] unexpected ':' char in declaration
>>
>>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/e
>>vent.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
>>>
>>
>>_______________________________________________
>>Zope3-users mailing list
>>Zope3-users at zope.org
>>http://mail.zope.org/mailman/listinfo/zope3-users
>>
> 
> 
> 



More information about the Zope3-users mailing list