[Chameleon-dev] [Bug 320] OGC error handling does not handle XML
headers etc.
bugzilla-daemon at www.maptools.org
bugzilla-daemon at www.maptools.org
Tue Jun 22 16:10:10 EDT 2004
http://www.maptools.org/bugzilla/show_bug.cgi?id=320
------- Additional Comments From bartvde at xs4all.nl 2004-06-22 16:10 -------
I looked a little deeper in what is happening here, at least with the
ExpressionBuilder.
The OGC exception is caught now, but the code in ExpressionBuilder.php still
assumes getting an array back from the getWFSConnection function.
ArcIMS returns:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE ServiceExceptionReport SYSTEM "http://192.168.3.107:
8080/wmsconnector/schema/wms/1.1.1/WMS_exception_1_1_1.dtd">
<ServiceExceptionReport version="1.1.1">
<ServiceException >
Invalid REQUEST value. If doGet, then REQUEST Should be
[map|GetMap|capabilities|GetCapabilities].
</ServiceException>
</ServiceExceptionReport>
And in layerattributes.php the getWFSResource function returns false because of
the following check, which works correctly now:
// check to see if an error was generated
if ( strpos( strtoupper( $szXMLFile ), '<SERVICEEXCEPTIONREPORT' ) !== false
)
{
return false;
}
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
More information about the Chameleon-dev
mailing list