Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:97570 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 4139 invoked from network); 7 Jan 2017 23:19:26 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 7 Jan 2017 23:19:26 -0000 Authentication-Results: pb1.pair.com smtp.mail=pthreads@pthreads.org; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=pthreads@pthreads.org; sender-id=unknown Received-SPF: error (pb1.pair.com: domain pthreads.org from 74.125.82.51 cause and error) X-PHP-List-Original-Sender: pthreads@pthreads.org X-Host-Fingerprint: 74.125.82.51 mail-wm0-f51.google.com Received: from [74.125.82.51] ([74.125.82.51:37500] helo=mail-wm0-f51.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B2/11-31343-B7771785 for ; Sat, 07 Jan 2017 18:19:25 -0500 Received: by mail-wm0-f51.google.com with SMTP id t79so74872976wmt.0 for ; Sat, 07 Jan 2017 15:19:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pthreads-org.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=SzBz2WfCfGfzrTIBmEwaY6yayXAPoiqd9eT7jp8mvw8=; b=oCKi51uMw+BtrwwpOkgg67B05ciISCjLmNQ0xa092D9v3uoaF2EVW+Y77eeSxZ578z W1IsS1mpBfomfF7OsOh3g/loyGCe1JodTIHJZz6I2/hznePwGU37/BcJ2JbBPuCw/w11 rYEbetzMwfu2R0pxStQCcowZsf5kvdjGZcom2aQQc4YeFHMOIEIfUm+MIxBb1YWFX4O3 8sBqdMqoTuxeK7n+sdqAKGgynzvZFbC7Q8VV3X2UT3/ABby4mahXxSqOQWALrj68otIY Tr14zm4HSv2CoZ0rul7/gxlMYptBSm8jz+UMPAu5754oxoM4VBWHV+UgyR/Gl/cxUx/d uwGQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=SzBz2WfCfGfzrTIBmEwaY6yayXAPoiqd9eT7jp8mvw8=; b=cQkMiOz2F++Y7jA6L68ULmZ5DkoKRaP8td5QxHm2l9Pu4GnOK3nPEn+nz2+dW8T6FZ ZCb8jGSWkyG+hPFRpWmfPPxCzVvWUuUXyLwYxa32UA7oEVUjw41gNfWnuEvAO4cyydk8 eSq6//04cvjgEjP4RxpR1OBy3Ql3KmGaiGxuum28OzCwvS4eYsWn3e2yzA4lfmv+CfQE nyvaoPVbuN7iDgu+Nj8tvBC4WYWptvB4lyMKOptXEfAhiox6kizGxiNpbWjnQKJ1y4vS vYQPh0lcNqy5pCqIbLmwIeEGH2g4jQW106ZNijs34WhPGFBWrD836LnfHe5j6RoerIVm 0XVA== X-Gm-Message-State: AIkVDXL98VgrC4QgxSkR20jT9pKLR3ZboMfwiJiXhvu7GIw7xw6sdGpxtqDkDeHK81QbtNzNzw5yEMn5A/gqPw== X-Received: by 10.223.155.158 with SMTP id d30mr6120991wrc.99.1483831160616; Sat, 07 Jan 2017 15:19:20 -0800 (PST) MIME-Version: 1.0 Received: by 10.80.176.4 with HTTP; Sat, 7 Jan 2017 15:19:20 -0800 (PST) X-Originating-IP: [86.178.168.203] In-Reply-To: <4dc52203-379d-7e19-d420-692d006b177e@gmail.com> References: <8e8f1cf4-a698-63b0-71a6-84daff20fdf2@gmail.com> <6925329b-3513-544a-2d40-6fcf402ebfff@gmail.com> <4dc52203-379d-7e19-d420-692d006b177e@gmail.com> Date: Sat, 7 Jan 2017 23:19:20 +0000 Message-ID: To: Rowan Collins Cc: PHP internals Content-Type: multipart/alternative; boundary=94eb2c1b53343c50ac0545895de2 Subject: Re: [PHP-DEV] SimpleXML's atXPath method From: pthreads@pthreads.org (Joe Watkins) --94eb2c1b53343c50ac0545895de2 Content-Type: text/plain; charset=UTF-8 Evening Rowan, Thank you. Now we can get to the really hard problem ... naming things :D I'm afraid I have no good suggestions. I can find API's that use the suggested name, but they vary in functionality (some overlap). There's also XmlNode.SelectSingleNode from C#, but sounds pretty horrible to me, variations on it might be: selectPath singlePath singleNode None of them really sound right to me, but may provoke someone else to do better. Over to you, someone else ... Cheers Joe On Sat, Jan 7, 2017 at 11:02 PM, Rowan Collins wrote: > On 07/01/2017 19:29, Joe Watkins wrote: > >> Evening Roawn, >> >> There is no competition to see which single problem we are going to >> solve, we can fix more than one thing, obviously :) >> >> What we are discussing here is the value of this particular feature, not >> the value of things that nobody has taken the time to propose, implement, >> or fix. >> >> This contributor has waited a year for this conversation to start, it >> would be nice if we could stay focused. >> >> > Indeed, I didn't mean to imply otherwise, and sorry if I gave that > impression. There is a small cost to adding new methods like this, in > future maintenance, and the future consistency of the extension, but you're > right that it's not a big deal, and other than finding the right name, I've > no real reason to object to this method. > > > Regards, > > -- > Rowan Collins > [IMSoP] > > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > --94eb2c1b53343c50ac0545895de2--