Hello world,
I'm working on the problem that prompted me to upgrade to the latest
beta. Alas, it didn't go away.
I've made a small taglib, just to write some stuff written in forms to a
database (and I'm not using PerForm for the same reason Colin Goodier
posted about, I like to keep Perl code out of there).
I have something like:
<preview:write-entry>
<preview:headline><param:headline/></preview:headline>
<preview:content><param:content/></preview:content>
</preview:write-entry>
I have developed taglibs using both SimpleTaglib and TaglibHelper do to
the work. All is fine if I include only one of the child elements, for
example:
<preview:write-entry>
<preview:headline><param:headline/></preview:headline>
</preview:write-entry>
It writes to the database and everything.
But including both, both taglib helpers give pretty much the same error,
and it is rather similar to the error struggled with a couple of weeks,
ago.
This is the error when using TaglibHelper:
[Fri Feb 7 18:35:25 2003] [error] [client 195.1.208.96] [AxKit] [Error]
Compilation failed: syntax error at (eval 81) line 60, near """
__mk_text_node"
and this is the relevant (?) XSP:
59 $_args{content} = ""
60 __mk_text_node($document, $parent, "" . do
{$cgi->param(q|content|)}); # xsp tag
61 ;
This is how it appears when using SimpleTaglib:
[Fri Feb 7 18:34:40 2003] [error] [client 195.1.208.96] [AxKit]
[Backtrace] Compilation failed: syntax error at (eval 83) line 57, near
"""__mk_text_node"
syntax error at (eval 83) line 58, at EOF
57 do { $attr_content = ""__mk_text_node($document, $parent, "" . do
{$cgi->param(q|content|)}); # xsp tag
58 ; ; };
In both cases, it seems like the XSP is missing that . which would make
the syntax correct.
I have tried to insert <xsp:expr> at various places, but that has had no
obvious effect... :-)
Help is (like always... :-) ) appreciated!
Best,
Kjetil
--
Kjetil Kjernsmo
Astrophysicist/IT Consultant/Skeptic/Ski-orienteer/Orienteer/Mountaineer
[EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED]
Homepage: http://www.kjetil.kjernsmo.net/ OpenPGP KeyID: 6A6A0BBC
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]