Issue report by smower
Product
FileMaker ServerVersion
13Operating system version
Windows 2012 ServerDescription of the issue
Hello,I have a script to import xml from eBay after transforming it with a FileMaker xslt stylesheet. It works fine on FMA 11 and a scheduled script on FMSA 11 and FMA 13, however when I try to run the scheduled script with FMS 13 it gives me errors 718 and 2035?
718 seems to be the following: Error in parsing XML file (from Xerces)
I can't find FM error 2035 documentation.
Anyway, I don't understand why it works in the other products but not the 13 server. Is the Xerces parser different in the server from the client or is this a bug? I don't know how to troubleshoot it since it works when I run it with FileMaker Advanced 13 on the desktop and it works from FMSA 11 on the server.
Thanks in Advance!
Steps to reproduce the problem
eBay XML<?xml version="1.0" encoding="UTF-8"?>
<GetMyeBaySellingResponse xmlns="urn:ebay:apis:eBLBaseComponents"><Timestamp>2014-01-23T17:30:02.962Z</Timestamp><Ack>Success</Ack><Version>857</Version><Build>E857_CORE_APISELLING_16635281_R1</Build><ActiveList><ItemArray><Item><ItemID>200632380528</ItemID><SellingStatus/><ShippingDetails/><BestOfferDetails><BestOfferCount>1</BestOfferCount></BestOfferDetails><SKU>T42RD</SKU></Item><Item><ItemID>141099812552</ItemID><SellingStatus/><ShippingDetails/><SKU>90236</SKU></Item><Item><ItemID>130724073365</ItemID><SellingStatus/><ShippingDetails/><SKU>247</SKU></Item><Item><ItemID>200696432480</ItemID><SellingStatus/><ShippingDetails/><SKU>88307pr</SKU></Item><Item><ItemID>130976292816</ItemID><SellingStatus/><ShippingDetails/><SKU>79354</SKU></Item><Item><ItemID>140815417299</ItemID><SellingStatus/><ShippingDetails/><SKU>55220</SKU></Item><Item><ItemID>130879735204</ItemID><SellingStatus/><ShippingDetails/><SKU>1268</SKU></Item><Item><ItemID>141074296638</ItemID><SellingStatus/><ShippingDetails/><SKU>01514</SKU></Item><Item><ItemID>140816073357</ItemID><SellingStatus/><ShippingDetails/><SKU>BT-662-GG</SKU></Item><Item><ItemID>140676068368</ItemID><SellingStatus/><ShippingDetails/><SKU>16660</SKU></Item></ItemArray></ActiveList></GetMyeBaySellingResponse>
FileMaker StyleSheet to Transform
<?xml version="1.0" encoding="UTF-8" ?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ebl="urn:ebay:apis:eBLBaseComponents" exclude-result-prefixes="ebl">
<xsl:output method="xml" version="1.0" encoding="UTF-8" indent="no"/>
<xsl:template match="/">
<FMPXMLRESULT xmlns="http://www.filemaker.com/fmpxmlresult"><ERRORCODE>0</ERRORCODE><PRODUCT BUILD="12-02-2005" NAME="FileMaker Pro" VERSION=""/><DATABASE DATEFORMAT="M/d/yyyy" LAYOUT="" NAME="" RECORDS="" TIMEFORMAT="h:mm:ss a"/>
<METADATA>
<FIELD EMPTYOK="YES" MAXREPEAT="1" NAME="Item Number" TYPE="NUMBER"/>
<FIELD EMPTYOK="YES" MAXREPEAT="1" NAME="OfferCount" TYPE="NUMBER"/>
<FIELD EMPTYOK="YES" MAXREPEAT="1" NAME="SKU" TYPE="TEXT"/>
</METADATA>
<RESULTSET FOUND="">
<xsl:for-each select="./ebl:GetMyeBaySellingResponse/ebl:ActiveList/ebl:ItemArray/ebl:Item">
<xsl:if test="./ebl:BestOfferDetails/ebl:BestOfferCount >0">
<ROW MODID="" RECORDID="">
<COL>
<DATA>
<xsl:value-of select="./ebl:ItemID"/>
</DATA>
</COL>
<COL>
<DATA>
<xsl:value-of select="./ebl:BestOfferDetails/ebl:BestOfferCount"/>
</DATA>
</COL>
<COL>
<DATA>
<xsl:value-of select="./ebl:SKU"/>
</DATA>
</COL>
</ROW>
</xsl:if>
</xsl:for-each>
</RESULTSET>
</FMPXMLRESULT>
</xsl:template>
</xsl:stylesheet>
Expected result
Server 13 should import this but instead gives an error: <?xml version="1.0" encoding="UTF-8"?><FMPXMLRESULT xmlns="http://www.filemaker.com/fmpxmlresult"><ERRORCODE>0</ERRORCODE><PRODUCT BUILD="12-02-2005" NAME="FileMaker Pro" VERSION=""/><DATABASE DATEFORMAT="M/d/yyyy" LAYOUT="" NAME="" RECORDS="" TIMEFORMAT="h:mm:ss a"/><METADATA><FIELD EMPTYOK="YES" MAXREPEAT="1" NAME="Item Number" TYPE="NUMBER"/><FIELD EMPTYOK="YES" MAXREPEAT="1" NAME="OfferCount" TYPE="NUMBER"/><FIELD EMPTYOK="YES" MAXREPEAT="1" NAME="SKU" TYPE="TEXT"/></METADATA><RESULTSET FOUND=""><ROW MODID="" RECORDID=""><COL><DATA>200632380528</DATA></COL><COL><DATA>1</DATA></COL><COL><DATA>T42RD</DATA></COL></ROW></RESULTSET></FMPXMLRESULT>
Actual result
Schedule "BestOffers" completed; last scripting error (718).Schedule "BestOffers" scripting error (2035) at "BestOffersServer : Startup : Import Records".
Exact text of any error message(s) that appear
Schedule "BestOffers" completed; last scripting error (718).Schedule "BestOffers" scripting error (2035) at "BestOffersServer : Startup : Import Records".
Configuration information
Client is Windows 7 and has FMPA 11 and FMPA 13 and both of those transform and import just fine.FMSA 11 is on a Windows small business server and it transforms and imports just fine.
FMS 13 is on a Windows 2012 Server and it gives errors when trying to transform and import.
Schedule "BestOffers" completed; last scripting error (718).
Schedule "BestOffers" scripting error (2035) at "BestOffersServer : Startup : Import Records".
Workaround
Use Base Elements plugin to transform the file before FileMaker Server imports since FM Server 13 imports the xml file from the documents folder fine if it doesn't have to do the xslt transformation. The following imports fine.<?xml version="1.0" encoding="UTF-8"?>
<FMPXMLRESULT xmlns="http://www.filemaker.com/fmpxmlresult"><ERRORCODE>0</ERRORCODE><PRODUCT BUILD="12-02-2005" NAME="FileMaker Pro" VERSION=""/><DATABASE DATEFORMAT="M/d/yyyy" LAYOUT="" NAME="" RECORDS="" TIMEFORMAT="h:mm:ss a"/><METADATA><FIELD EMPTYOK="YES" MAXREPEAT="1" NAME="Item Number" TYPE="NUMBER"/><FIELD EMPTYOK="YES" MAXREPEAT="1" NAME="OfferCount" TYPE="NUMBER"/><FIELD EMPTYOK="YES" MAXREPEAT="1" NAME="SKU" TYPE="TEXT"/></METADATA><RESULTSET FOUND=""><ROW MODID="" RECORDID=""><COL><DATA>200632380528</DATA></COL><COL><DATA>1</DATA></COL><COL><DATA>T42RD</DATA></COL></ROW></RESULTSET></FMPXMLRESULT>