Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:13046 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 68942 invoked by uid 1010); 28 Sep 2004 12:10:41 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 67209 invoked from network); 28 Sep 2004 12:10:25 -0000 Received: from unknown (HELO out2.smtp.messagingengine.com) (66.111.4.26) by pb1.pair.com with SMTP; 28 Sep 2004 12:10:25 -0000 Received: from web1.messagingengine.com (web1.internal [10.202.2.210]) by frontend1.messagingengine.com (Postfix) with ESMTP id B04E5C163BD; Tue, 28 Sep 2004 08:10:25 -0400 (EDT) Received: by web1.messagingengine.com (Postfix, from userid 99) id 193D7A16; Tue, 28 Sep 2004 08:10:26 -0400 (EDT) Content-Disposition: inline Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="iso-8859-1" MIME-Version: 1.0 X-Mailer: MIME::Lite 1.5 (F2.73; T1.001; A1.64; B3.05; Q3.03) To: internals@lists.php.net, hholzgra@php.net Date: Tue, 28 Sep 2004 05:10:26 -0700 X-Sasl-Enc: LVoXH/m4Y7bTkeegKntBSg 1096373426 Message-ID: <1096373426.14518.205306592@webmail.messagingengine.com> Subject: issues with ext/xml/tests/bug26614.phpt From: kameshj@fastmail.fm ("Kamesh Jayachandran") Hi All, I have a expat based php xml parser extension there also the ext/xml/tests/bug26614.phpt fails the difference I could see is in byte position, For this snippet expected xml_get_current_byte_index is 45, 90 for start and end of data tag respectively. This would be correct if the lines are ended by "\n". But I feel the lines are ended by "\r\n" So I get 46(\r in the first line) and 98(8 \r preceding 8 lines). How to differentiate between \r\n and \n? I tried vi editor with ":se list" it was showing $ for both "\r\n" and "\n". With regards Kamesh Jayachandran