On Thursday 09 January 2003 20:59, you wrote:
> No, it's just perl's here-doc syntax.
OK, good, thanks!
Uhm, next problem... :-)
The true and false element I introduced works well if the content is
simple text, but if I enclose text in a ((X)HTML) element, e.g.
<auth:true><strong>Password is valid</strong></auth:true>
....it fails.
The error is:
[Thu Jan 9 21:00:30 2003] [error] [client 127.0.0.1] [AxKit] [Error]
Compilation failed: syntax error at (eval 74) line 30, near """{ "
syntax error at (eval 74) line 31, near "}
{ "
syntax error at (eval 74) line 32, near "}
$parent "
Checking back to these lines, I find in the log:
30 do { $attr_true = ""{ my $elem =
$document->createElementNS(q|http://www.w3.org/1999/xhtml|,q|aaaa7u7W_:strong|);$parent->appendChild($elem);
$parent = $elem; }
31 { my $text = $document->createTextNode(q|Password is
valid|);$parent->appendChild($text); }
32 $parent = $parent->getParentNode;
33 ; ; };
(uh, line breaks are not pretty, but there's little to be done about I
guess).
Well, I've found the lines that create these things in XSP.pm (lines
805-), but I don't know where to go from there...
I have also tried to insert <xsp:content> at every imagineable and
unimagineable place in the XSP (though only one place at a time) as
that was said to be a gotcha in the docs, without any success.
Best,
Kjetil
--
Kjetil Kjernsmo
Astrophysicist/IT Consultant/Skeptic/Ski-orienteer/Orienteer/Mountaineer
[EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED]
Homepage: http://www.kjetil.kjernsmo.net/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]