|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-10-31 10:43 UTC] derick@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 14:00:01 2025 UTC |
Description: ------------ <NAME>H?chstgeschwindigkeit</NAME> The upper tag will not be corectly handled when using the xml_set_character_data_handler. The document is correctly formatted using utf-8 coding standards. The elementhandler for the upper tag will be called twice: 1st: "H" 2nd: "?chstgeschwindigkeit" which is a pain when creating html tables. Reproduce code: --------------- xml_set_character_data_handler( $parser, "daten" ); function daten( $parser, $xml_data ) { // Datenbereich ausgeben if ( $this->valid_list_item == true ) { $sdata = utf8_decode( $xml_data ); $this->data[$this->cv][] = utf8_decode( $sdata ); print ( $sdata ); print ( "|" ); } } Expected result: ---------------- The tag character handler does not recognize extended cahractersets. The tag character handler for the tag "NAME" should only be called once.