Timothy S. Nelson wrote:
> On Thu, 12 Apr 2007, Kristian Nilssen wrote:
>
>> Hello, my website is xml driven and I have a sax parser which goes
>> through the xml, and outputs a clientname,username and password
>> whereever it encounters one. The parser returns many such occurances
>> when run from the shell, but only one row when run from within mason.
>> Stumped. Could there be an error raised when run within mason which I
>> can't see? How do I get access to such an error? Here is the mason code
>> and sax parser if that helps...
>
> 1. I would expect to find errors in the apache error log.
> 2. I know nothing about SAX, but could it be the difference between being
> called in a scalar vs. list context? (cf. wantarray on perlfunc man
> page).
>
>
> ---------------------------------------------------------------------
> | Name: Tim Nelson | Because the Creator is, |
> | E-mail: [EMAIL PROTECTED] | I am |
> ---------------------------------------------------------------------
>
> ----BEGIN GEEK CODE BLOCK----
> Version 3.12
> GCS d+++ s+: a- C++$ U+++$ P+++$ L+++ E- W+ N+ w--- V- PE(+) Y+>++ 
> PGP->+++ R(+) !tv b++ DI++++ D G+ e++>++++ h! y-
> -----END GEEK CODE BLOCK-----

no errors in apache log.
The xml::sax::writer cpan page says it's expecting a reference to a 
scalar which the data is appended to. Anyway it works fine from bash but 
not in mason.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Mason-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to