Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:10907 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 71131 invoked by uid 1010); 5 Jul 2004 12:40:56 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 71034 invoked from network); 5 Jul 2004 12:40:55 -0000 Received: from unknown (HELO n082.sc1.cp.net) (209.228.29.85) by pb1.pair.com with SMTP; 5 Jul 2004 12:40:55 -0000 Received: from lamp (81.98.84.162) by n082.sc1.cp.net (7.0.027.3-1) id 40DCD8AB001CA275; Mon, 5 Jul 2004 12:40:49 +0000 Reply-To: To: "Nuno Lopes" , "PHPdev" Date: Mon, 5 Jul 2004 13:44:29 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: <006001c46275$1f248800$0100a8c0@pc07653> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Importance: Normal Subject: RE: [PHP-DEV] [PATCH] tidylib behaviour changed From: steph@zend.com ("Steph") References: <006001c46275$1f248800$0100a8c0@pc07653> Those methods work fine. The code's incorrect in your example; you were echoing the original string. > -----Original Message----- > From: Nuno Lopes [mailto:nlopess@php.net] > Sent: 05 July 2004 10:48 > To: PHPdev > Subject: [PHP-DEV] [PATCH] tidylib behaviour changed > > > Hi, > > Finally today, the tidy team has corrected a bug in > tidyLoadConfig. Attached > is a patch that fixes PHP for the new behaviour (which is backward > compatible with older libs) and I've also removed the repairString() and > repairFile() methods (see why in my previous e-mail). > > Regards, > Nuno > > > > -------------------------------------------------- > Tidy bug: > http://sourceforge.net/tracker/?func=detail&atid=390963&aid=937271 &group_id=27659 Tidy response: "I have changed your patch, so that the tidyLoadConfig() return value is consistent with the existing usage of tidyLoadConfig() - e.g. in "tidy.c": -1 if the file is not found 0 if the file was parsed correctly 1 if there were errors parsing the file (unknown option, etc...) i.e. no change to the last line of the function." --------------------------------------------------