https://bugzilla.wikimedia.org/show_bug.cgi?id=16554





--- Comment #5 from Tim Starling <[email protected]>  2009-01-09 10:07:55 
UTC ---
It's likely that the entity &lt; is not being sent (decoded) to the character
data handler. Maybe it's being sent to some other handler (such as the default
handler), maybe it's just discarded. The reason for this probably has something
to do with the version or configuration of the libxml2 library. What would be
nice is if you could help debug it. I think the first thing to try would be
something like:

Index: includes/Import.php
===================================================================
--- includes/Import.php (revision 45593)
+++ includes/Import.php (working copy)
@@ -864,6 +864,7 @@
                        $this->appendfield = $name;
                        xml_set_element_handler( $parser, "in_nothing",
"out_append" );
                        xml_set_character_data_handler( $parser, "char_append"
);
+                       xml_set_default_handler( $parser, "char_append" );
                        break;
                case "contributor":
                        $this->push( "contributor" );

and then see what comes out on import. Please also report the following
information about your system:

* From phpinfo(), whether there's a --with-libxml-dir or --with-libexpat-dir
under "Configure Command" and what it's set to
* If expat is used, what version it is
* What the libxml2 version is
* The distribution and package version used to install PHP


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to