ID:               44700
 Updated by:       [EMAIL PROTECTED]
 Reported By:      tr-huso at online dot no
-Status:           Open
+Status:           Bogus
 Bug Type:         *XML functions
 Operating System: Linux Ubuntu 7.10
 PHP Version:      5.2.5
 New Comment:

Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php

>From http://ch2.php.net/manual/en/function.xml-set-character-data-
handler.php :

"Character data handler is called for every piece of a text in the XML

document. It can be called multiple times inside each fragment (e.g.
for 
non-ASCII strings)."




Previous Comments:
------------------------------------------------------------------------

[2008-04-11 14:23:59] tr-huso at online dot no

Description:
------------
XML-files containing foreign keys like æ, ø and å makes the
xml_set_character_data_handler splits the line in two.

PHP is standard set up in Ubuntu version 7.10.

This is sort of the same bug as #30951, but this case is closed.

Reproduce code:
---------------
I based my code on Example 2. Map XML to HTML to parse information from
the XML-file.

Just create a document with the foreign keys æ. ø and å and you should
pretty much be able to recreate the bug.

Instead of using echo insert the value in the code into a string or end
all echos with a <br>


Expected result:
----------------
I expected that the line that included the foreign character was
returned in whole, not splitted with a line feed.

Actual result:
--------------
it returns a line feed.


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=44700&edit=1

Reply via email to