Hello *

I am facing quite strange problems trying to port to AxKit 1.6.1 some XSP pages that used to work on 1.5.

Some problems seem to come from the perl code that AxKit builds from the page: it seems to contain syntax errors, like in this case:

---SNIP---
61 for my $col (AxKit::XSP::ESQL::get_columns(0)) {
62 my $ancestor = 0;
63 $parent = __mk_element_node($document, $parent, "" . do {$col} . do {AxKit::X
SP::ESQL::get_column($col, $ancestor)}$parent = $parent->getParentNode;
64
65 } # </get-columns>
---SNIP---
Compilation failed: syntax error at (eval 270) line 63, near "}$parent "
syntax error at (eval 270) line 121, near "}$parent "


The error is quite evident.

Another problem I have with a small XSP page that pulls some data in via Net::Telnet and formats it to XML. For reasons I can't see, it seem not to understand the <xsp:comment> tag, which gives this error:

Can't locate object method "createCommentNode" via package XML::LibXML::Document" at /opt/perl-5.8.0/lib/site_perl/5.8.0/i686-linux/Apache/AxKit/Language/XSP.pm line 1133, <GEN0> line 3.

When I removed the <xsp:comment> tags, the page nearly worked, except that it doesn't contain the data it should have fetched via telnet...

I am using AxKit 1.6.1 on Apache 1.3.27 on Debian Linux, with mod_perl 1.28 and perl 5.8.0; libxml2 is 2.5.8, libxslt is 1.0.31. I compiled everything by myself.

Any clues?

Ciao
--M

--
Marco Marongiu                         Email: [EMAIL PROTECTED]
CRS4 Research Center                   Phone: +39 070 9250 336
NCS Division                           Fax:   +39 070 9250 216
NSM Group                              WWW: http://bugs.unica.it:4444/



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to