Hi i'm getting into XSP now :) When I run the following xsp everything
is fine, but if I change the content to just <util:include-file
name="form.html"/> (without the <test></test> around it, I get bad juju
errors. Is that of interest to anyone? It's weird to me, because
putting in just <test/> gives no errors, and form.html contains valid
XML. It's a very unhelpful error too (see below).
Also I have another question. What's up with the PI for the xsp being
either . or NULL in some mailing list posts?
simon
This is formxsp.html (the extension is mapped....)
------------------------------------
<?xml version="1.0"?>
<?xml-stylesheet type="application/x-xsp" href="." ?>
<?xml-stylesheet type="text/xsl" href="form.xsl" ?>
<?xml-stylesheet type="text/xsl" href="/xsl/site.xsl" ?>
<xsp:page
language="Perl"
xmlns:xsp="http://apache.org/xsp/core/v1"
xmlns:util="http://apache.org/xsp/util/v1"
>
<test>
<util:include-file name="form.html"/>
</test>
</xsp:page>
------------------------------------
this is the error I get if I have no content at all in my XSP, the
error with just <util:include-file name="form.html"/> is almost
identical.
------------------------------------
[Mon Feb 3 01:48:15 2003] [warn] [client 127.0.0.1] [AxKit] Caught an
exception
[Mon Feb 3 01:48:15 2003] [error] [client 127.0.0.1] [AxKit] [Error]
Compilation failed: Unmatched right curly bracket at (eval 31) line 13,
at end of line
syntax error at (eval 31) line 13, near ";
}"
[Mon Feb 3 01:48:15 2003] [error] [client 127.0.0.1] [AxKit] From:
/Library/Perl/Error.pm : 148
[Mon Feb 3 01:48:15 2003] [error] [client 127.0.0.1] [AxKit]
[Backtrace] Compilation failed: Unmatched right curly bracket at (eval
31) line 13, at end of line
syntax error at (eval 31) line 13, near ";
}"
Error::throw('Apache::AxKit::Exception::Error', '-text',
'Compilation failed: Unmatched right curly bracket at (eval 31) l...')
called at /Library/Perl/darwin/Apache/AxKit/Language/XSP.pm line 114
Apache::AxKit::Language::XSP::handler('Apache::AxKit::Language::XSP',
'AxKit::Apache=SCALAR(0x492820)',
'Apache::AxKit::Provider::File=HASH(0x4928a4)',
'Apache::AxKit::Provider::File=HASH(0x4c6c60)', '') called at
/Library/Perl/darwin/AxKit.pm line 623
AxKit::process_request('AxKit::Apache=SCALAR(0x492820)',
'Apache::AxKit::Provider::File=HASH(0x4928a4)', 'ARRAY(0xa6a82c)')
called at /Library/Perl/darwin/AxKit.pm line 437
AxKit::run_axkit_engine('AxKit::Apache=SCALAR(0x492820)',
'Apache::AxKit::Provider::File=HASH(0x4928a4)') called at
/Library/Perl/darwin/AxKit.pm line 264
eval {...} called at /Library/Perl/darwin/AxKit.pm line 255
AxKit::main_handler('AxKit::Apache=SCALAR(0x492820)',
'Apache::AxKit::Provider::File=HASH(0x4928a4)') called at
/Library/Perl/darwin/AxKit.pm line 226
AxKit::handler('AxKit::Apache=SCALAR(0x492820)') called at
/dev/null line 0
eval {...} called at /dev/null line 0
------------------------------------
---
www.simonwoodside.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
- Re: xsp oddity S Woodside
- Re: xsp oddity Matt Sergeant
- Re: xsp oddity J�rg Walter
