[Chameleon-dev] [Bug 1622] LayerAttributes.php does not deal with Mapserver ms prefix

bugzilla-daemon at bugzilla.maptools.org bugzilla-daemon at bugzilla.maptools.org
Mon Dec 4 10:24:52 EST 2006


------- Additional Comments From bartvde at osgis.nl  2006-12-04 10:24 -------
There is another problem when parsing the attribute values:

        //echo "processing count $i<BR>";
        // only process all non "gml..." values
        if ( strtoupper( substr( $axValues[$i]["tag"], 0, 3 ) ) != "GML" )
            // only add attributes that are in the list
            // bartvde, get rid of namespace prefix
            $pos = strpos($axValues[$i]['tag'], ':');
            if ($pos !== false)
              $axValues[$i]['tag'] = substr($axValues[$i]['tag'], $pos+1);
            if ( $bAllowAll || in_array( $axValues[$i]['tag'], $aszAttributes ) )

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

Please do NOT reply to this email, use the link above instead to 
login to bugzilla and submit your comment. Any email reply to this
address will be lost.

More information about the Chameleon-dev mailing list