|
OK. I'm diving into this xml thing. Bear with me;
I'm trying to do something very simple. I've got CGI::XMLApplication
working with apache on Windows '98, for testing purposes. I even got it to
work with a couple of 'hello world' type examples.
Now I'm trying to get it to do some real work. I'm
connecting to filemaker's dso_xml, which is outputting xml that looks something
like this:
<?xml version="1.0" encoding="UTF-8" ?>
<FMPDSORESULT xmlns="http://www.filemaker.com/fmpdsoresult"> <ERRORCODE>0</ERRORCODE> <DATABASE>my database name</DATABASE> <LAYOUT>tracking screen</LAYOUT> <ROW MODID="223" RECORDID="1"> <active_oar_complete_flag>ACTIVE</active_oar_complete_flag> <note_flag /> <DMAIL_NUMBER>309</DMAIL_NUMBER> <orig_hit_date /> ...
and I've created an xsl stylesheet, as per the instructions
at: http://www.filemaker.com/downloads/pdf/xml_overview.pdf
(page 14). It looks like this:
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fm="http://www.filemaker.com/fmpdsoresult"> <xsl:template match="fm:FMPDSORESULT">
<html>
<body> <font face="Arial, Helvetica"> My database: <xsl:value-of select="fm:DATABASE"/> </font> </body> </html> </xsl:template>
</xsl:stylesheet>
Whenever I load my cgi app, perl crashes with 'This program
has performed an illegal operation and will be shut down.' The details of
the problem are this: 'PERL caused an invalid page fault in module
KERNEL32.DLL at 017f:bff7b9a6.'
Should it be doing this? At the very least, I should get
some kind of constructive error, no? I know I'm getting the xml; I can
dump the output to the browser as xml.
TIA.
|
- Re: [Boston.pm] CGI::XMLApplication crashing perl Joel Gwynn
- Re: [Boston.pm] CGI::XMLApplication crashing perl darren chamberlain
- Re: [Boston.pm] CGI::XMLApplication crashing perl Joe Johnston
- Re: [Boston.pm] CGI::XMLApplication crashing perl Matthew Brooks
