Is there anything wrong with this ZPT code sample? http://www.zopemag.com/Issue003/Section_Articles/article_ZPTintro_code.html I get this error message when trying to save it:- HTMLParser.HTMLParseError: malformed start tag, at line 8, column 37 -- John
On 6/21/05, John Poltorak <jp@warpix.org> wrote:
Is there anything wrong with this ZPT code sample?
http://www.zopemag.com/Issue003/Section_Articles/article_ZPTintro_code.html
I get this error message when trying to save it:-
HTMLParser.HTMLParseError: malformed start tag, at line 8, column 37
The cited line contains a typo; it uses "<" instead of ">" to end a tag. -Fred -- Fred L. Drake, Jr. <fdrake at gmail.com> Zope Corporation
--On 21. Juni 2005 11:58:52 -0400 Fred Drake <fdrake@gmail.com> wrote:
On 6/21/05, John Poltorak <jp@warpix.org> wrote:
Is there anything wrong with this ZPT code sample?
http://www.zopemag.com/Issue003/Section_Articles/article_ZPTintro_code.h tml
I get this error message when trying to save it:-
HTMLParser.HTMLParseError: malformed start tag, at line 8, column 37
The cited line contains a typo; it uses "<" instead of ">" to end a tag.
...which is obvious when you look in line 8 carefully. -aj
On Tue, Jun 21, 2005 at 06:07:36PM +0200, Andreas Jung wrote:
--On 21. Juni 2005 11:58:52 -0400 Fred Drake <fdrake@gmail.com> wrote:
On 6/21/05, John Poltorak <jp@warpix.org> wrote:
Is there anything wrong with this ZPT code sample?
http://www.zopemag.com/Issue003/Section_Articles/article_ZPTintro_code.h tml
I get this error message when trying to save it:-
HTMLParser.HTMLParseError: malformed start tag, at line 8, column 37
The cited line contains a typo; it uses "<" instead of ">" to end a tag.
...which is obvious when you look in line 8 carefully.
It may well be obvious to anyone familiar with these things, but when you are struggling to understand them, the last thing you need when you are going through the most basic example is a typo in the example itself. I keep wondering whether ZOPE is sponsored by wig makers...
-aj
-- John
John Poltorak wrote:
On Tue, Jun 21, 2005 at 06:07:36PM +0200, Andreas Jung wrote:
--On 21. Juni 2005 11:58:52 -0400 Fred Drake <fdrake@gmail.com> wrote:
On 6/21/05, John Poltorak <jp@warpix.org> wrote:
Is there anything wrong with this ZPT code sample?
http://www.zopemag.com/Issue003/Section_Articles/article_ZPTintro_code.h tml
I get this error message when trying to save it:-
HTMLParser.HTMLParseError: malformed start tag, at line 8, column 37
The cited line contains a typo; it uses "<" instead of ">" to end a tag.
...which is obvious when you look in line 8 carefully.
It may well be obvious to anyone familiar with these things, but when you are struggling to understand them, the last thing you need when you are going through the most basic example is a typo in the example itself.
That problem that has nothing to do with any of the dynamic elements in the page. Such a typo would bork any tag-based language. You're not learning HTML at the same time as ZPT, are you? One should know HTML before dealing with any HTML templating language. I dare say it's a fool's errand to try to learn ZPT unless you have an understanding of HTML and XML-sh languages in general.
I keep wondering whether ZOPE is sponsored by wig makers...
Now that you know, you should notify the author/site and get it fixed. --jcc -- "Building Websites with Plone" http://plonebook.packtpub.com/ Enfold Systems, LLC http://www.enfoldsystems.com
On Tue, Jun 21, 2005 at 01:50:25PM -0500, J Cameron Cooper wrote:
John Poltorak wrote:
You're not learning HTML at the same time as ZPT, are you?
I'm learning about all sorts of things at the same time. Aren't we all? My HTML knowledge is much further advance than my knowledge of ZPT, but there a still gaps.
One should know HTML before dealing with any HTML templating language. I dare say it's a fool's errand to try to learn ZPT unless you have an understanding of HTML and XML-sh languages in general.
I got the impression that DTML and ZPT make some aspects of HTML redundant...
I keep wondering whether ZOPE is sponsored by wig makers...
Now that you know, you should notify the author/site and get it fixed.
I have done.
--jcc
-- "Building Websites with Plone" http://plonebook.packtpub.com/
Enfold Systems, LLC http://www.enfoldsystems.com
-- John
On Tue, Jun 21, 2005 at 09:58:32PM +0100, John Poltorak wrote:
I got the impression that DTML and ZPT make some aspects of HTML redundant...
redundant? no. DTML and ZPT are better understood as languages that you use "on top of" HTML. (Or on top of XML, as the case may be.) -- Paul Winkler http://www.slinkp.com
--On 21. Juni 2005 19:37:35 +0100 John Poltorak <jp@warpix.org> wrote:
On Tue, Jun 21, 2005 at 06:07:36PM +0200, Andreas Jung wrote:> It may well be obvious to anyone familiar with these things, but when you are struggling to understand them, the last thing you need when you are going through the most basic example is a typo in the example itself.
I keep wondering whether ZOPE is sponsored by wig makers...
I don't know what a wig maker is but when you work with ZPT you should have a certain knowledge in HTML and finding unmatched tag ends is something I consider really basic and which is support by nearly every text editor. -aj
On Tue, Jun 21, 2005 at 10:25:24PM +0200, Andreas Jung wrote:
--On 21. Juni 2005 19:37:35 +0100 John Poltorak <jp@warpix.org> wrote:
On Tue, Jun 21, 2005 at 06:07:36PM +0200, Andreas Jung wrote:> It may well be obvious to anyone familiar with these things, but when you are struggling to understand them, the last thing you need when you are going through the most basic example is a typo in the example itself.
I keep wondering whether ZOPE is sponsored by wig makers...
I don't know what a wig maker is
A wig is something one might look for after tearing one's hair out - a state one often gets into when using Zope.
but when you work with ZPT you should have a certain knowledge in HTML and finding unmatched tag ends is something I consider really basic and which is support by nearly every text editor.
Does Zope's built-in text editor include such support?
-aj
-- John
On 21.Jun 2005 - 21:39:34, John Poltorak wrote:
On Tue, Jun 21, 2005 at 10:25:24PM +0200, Andreas Jung wrote:
but when you work with ZPT you should have a certain knowledge in HTML and finding unmatched tag ends is something I consider really basic and which is support by nearly every text editor.
Does Zope's built-in text editor include such support?
Zope has no built-in editor. All you see is a normal HTML form, nothing zopeisch. Your browser decides how to display the content of the ZPT within that multiline-edit-field. Better use a "real" HTML-enabled editor for editing larger ZPT's. ExternalEditor can help you with editing TTW-ZPT's. Andreas -- You never hesitate to tackle the most difficult problems.
participants (6)
-
Andreas Jung -
Andreas Pakulat -
Fred Drake -
J Cameron Cooper -
John Poltorak -
Paul Winkler