Results 1 to 1 of 1

Thread: xml php extension with libxml 2.7.2 bug

  1. #1

    xml php extension with libxml 2.7.2 bug

    This is an upstream bug with either libxml2 or php. Here are some bug reports to chew on. In the meantime I've recompiled the xml extension with support for expat (natively). It is a simple replacement that changes the parser being used. The bug is that it tends to strip out the < and > characters for input. In wordpress this affects the xml-rpc interface.

    http://trac.wordpress.org/ticket/7771
    http://bugs.php.net/bug.php?id=46138

    http://techtites.com/2009/01/14/fix-...ng-tags-issue/

    Anyways if you want the modified xml extension then let me know. I used expat package version 2.0.1-1 so make sure that is installed if you use it. Just add a line in the php.ini file to reference it and remove (or comment out) the old xml.so entry.

    Oh and examples...

    With libxml2
    http://router.elite-systems.org:8080/2009/02/blah/

    With expat
    http://router.elite-systems.org:8080/2009/02/blah-2/

    EDIT: The last bug report indicates that it will be fixed with the next php release and with libxml-2.7.3. Note that neither are released... yet.

    EDIT: As of today this appears to be a non-issue. I just tested using the stock xml.so file with Windows Live Writer and the XML-RPC posting worked fine.
    Last edited by shinji257; 07-03-2009 at 23:12.
    WL500g Premium R1.14 with 128MB mod and serial port mod
    Oleg 1.9.2.7-10 - Lighttpd w/ PHP using eAccelerator - multi-user ready - dropbear secured setup

Similar Threads

  1. NOD32 update server
    By idmitry in forum Russian Discussion - РУССКИЙ (RU)
    Replies: 795
    Last Post: 26-07-2020, 09:44
  2. Установка и настройка vnStat + vnStat PHP frontend
    By VoVuX in forum Russian Discussion - РУССКИЙ (RU)
    Replies: 219
    Last Post: 16-10-2015, 13:37
  3. How to execute php scripts ?
    By simistef in forum WL-500gP Q&A
    Replies: 13
    Last Post: 11-03-2008, 09:35
  4. Bug in PHP 5.2.2-1 - new PHP version avaiable?
    By rj.2001 in forum WL-500g Q&A
    Replies: 0
    Last Post: 13-05-2007, 22:10

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •