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





--- Comment #6 from ^demon <[email protected]>  2009-01-09 17:21:53 UTC 
---
(In reply to comment #5)
> 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. 

Didn't fix it, no change in behavior.

> 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
> 

--with-libxml-dir=/opt/xml2/ version 2.7.2.
Not using --with-expat. We're on PHP 5.2.6. This is (was? I know 5.2.8 is out)
the default php-mysql build for CentOS 4.7, as far as I know. I haven't changed
it.


-- 
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