MapTools.org

[Chameleon-dev] [Bug 320] New: OGC error handling does not handle XML headers etc.

bugzilla-daemon@www.maptools.org bugzilla-daemon@www.maptools.org
Tue, 23 Mar 2004 10:04:48 -0500
http://www.maptools.org/bugzilla/show_bug.cgi?id=320

           Summary: OGC error handling does not handle XML headers etc.
           Product: Chameleon
           Version: 1.1
          Platform: PC
        OS/Version: Windows 2000
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Widget
        AssignedTo: chameleon-dev@lists.maptools.org
        ReportedBy: bartvde@xs4all.nl


E.g. in ExpressionBuilder.widget.php:

        if ( !is_array( $aszFile ) || 
             strtoupper( substr( $aszFile[0], 0, 23 ) ) 
== "<SERVICEEXCEPTIONREPORT" )

it is checked whether or not the first 23 characters received are 
<ServiceExceptionReport.

This works for Mapserver, but if a WMS has a response with a XML header and/or 
a DTD declaration etc., this does not work.

The same code is also present in the ExtractWFSData widget.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


This archive was generated by Pipermail.