Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:12386 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 75751 invoked by uid 1010); 27 Aug 2004 01:04:53 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 68388 invoked from network); 27 Aug 2004 01:02:44 -0000 Received: from unknown (HELO mail.omniti.com) (66.80.117.3) by pb1.pair.com with SMTP; 27 Aug 2004 01:02:44 -0000 Received: from ([66.80.117.254:44755]) by mail.omniti.com (ecelerity 1.2.1-dev) with SMTP id 43/00-02932-4388E214; Thu, 26 Aug 2004 21:02:47 -0400 In-Reply-To: References: Mime-Version: 1.0 (Apple Message framework v619) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-ID: Content-Transfer-Encoding: 7bit Cc: George Schlossnagle , Date: Thu, 26 Aug 2004 21:02:07 -0400 To: "Naik, Roshan" X-Mailer: Apple Mail (2.619) Subject: Re: [PHP-DEV] XML requirements: Are the docs incorrect ? From: george@omniti.com (George Schlossnagle) On Aug 26, 2004, at 8:51 PM, Naik, Roshan wrote: > > http://www.zend.com/php5/andi-book-excerpt.php says > > "In PHP 5, all XML extensions have been rewritten to use the superb > libxml2 XML toolkit" > > But the official docs http://us4.php.net/manual/en/ref.xml.php > on XML extension say under the requirements section > > > " This extension uses expat, which can be found at > http://www.jclark.com/xml/expat.html." This is no longer correct. It _can_ use expat, but by default it uses an expat compat layer. > > There used to be some talk about "bundled libxml". > I couldn't find any bundled libxml2 in the PHP5 distribution. > Is ext/libxml2 it ? > .. or do I need to pick it up from xmlsoft.org ? You do. There was active discussion about a year and a half ago as to whether to bundle it or not. The decision was 'not'. Search the archives if you are interested in the various points. > I would prefer to use libxml2 for all extensions really. Then you're in luck, because PHP5 does. George