Custom Web Publishing with XML and XSLT

Table Of Contents
112 FileMaker Server Custom Web Publishing with XML and XSLT
Error code numbers for the Web Publishing Engine
When the Web Publishing Engine is in Development mode, it generates a specific error page when an error
occurs in the Web Publishing Engine itself. This type of error may result from a variety of causes, such as
if the Web Publishing Engine is unable to:
1 find a requested or nested (via <xsl:include>) stylesheet file
1 parse a requested or nested stylesheet file because of an XML error with the file
1 generate a stylesheet from the file because of an XSLT or XPath error in the file
1 process the request because the XML grammar is not properly specified in the CGI
1 communicate with the Web Publishing Core to retrieve XML
When the Web Publishing Engine is operating in Development mode, the error page for this type of error
contains an error message and error number in parentheses. For example:
Here is a partial list of the Web Publishing Engine error code values:
1410 Extended error (ODBC)
1411 Extended error (ODBC)
1412 Extended error (ODBC)
1413 Extended error (ODBC)
Error code value Description
QUERY-ER0001 No XML grammar was specified in the –grammar query parameter
QUERY-ER0002 “xxx” is not a valid XML grammar for FileMaker XSLT
FILE-ER0001 The requested stylesheet file could not be found
FILE-ER0002 The requested file could not be found
UNKNOWN An unexpected error has occurred
MCS-000 to MCS-600 An unexpected error has occurred
MCS-601 The resource “x” could not be loaded because there is no support for resources
of type: “x”
MCS-602 The URL “x” could not be resolved
Error Number Description
Example of error page when the Web Publishing Engine is in Development mode