Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:122173 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 40925 invoked from network); 18 Jan 2024 13:06:08 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 18 Jan 2024 13:06:08 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1705583208; bh=Veqg6knEIvwowddVneKsBnH5HHzfSRWAK2OBQP1PrHg=; h=Date:To:From:Cc:Subject:In-Reply-To:References:From; b=Or7/PwxoKYweAPECxR0xyLC9yipnzfUpwDDcrLUX90RUCiiy5qTntXwb4C31gdbw/ 1CaWwQruXV7EX3XuSPI4aLTOlgCRKIe747QRTRQldSkvrAkuhqgW9g4Jzwt5qOziq0 3wz9OaK5LGBF2ZLijzSvUy9Sjz5FzIt0jQqrufijafQCWQbP16WILlEIUgxSsm6dKl 360GlyKeAqPFm/5x1UkGUiT59bTXyFh7QkK3LWlNBvE+jxvFBcU4Fh3emrCWoDEdXn WqnsVkWZftZSouxIDbWFAVFll/FHJ3w7qdDMo2HXvF/geVA0e/pr/DHt2Xqavy5h/d 7vcADxTth4PTg== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id B9DFB180058 for ; Thu, 18 Jan 2024 05:06:45 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS,RCVD_IN_MSPIKE_H5, RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from mail-4323.proton.ch (mail-4323.proton.ch [185.70.43.23]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Thu, 18 Jan 2024 05:06:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gpb.moe; s=protonmail; t=1705583162; x=1705842362; bh=Veqg6knEIvwowddVneKsBnH5HHzfSRWAK2OBQP1PrHg=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=ngNxQXoOf4DYBwGl8+N/E/RLxjTU9BbifhU9bYzPURbrr+c0VPE0phlhPnX/tMlHV OUZadYNGojK/Ix695LP2gp5Fx3FA9/BHt54cG3mjuMVsUruRjmI/jx8r7s15DjDz7V zaHwApcA//kj8GIf4K4GCPvnHG00lob8b5dzdYLohOPkCo5P+HUZ59Tm3laZtw3Do4 EK0aZR5DojfdCKPHBaPiuojRJ71wX6nrcovCMmunG8LhUM/pYhQOfV6xKYQAQ0ulEn mlPRrQHSAP5TstLo1oENpGEgVhQDijATCpUisZMcKzjL/1BtZ8XYkaCQm3XuETY0xH mR/cWCzXU3giA== Date: Thu, 18 Jan 2024 13:05:50 +0000 To: Niels Dossche Cc: PHP internals Message-ID: In-Reply-To: <2006cef3-0e8c-49cc-9703-0fa70690a4ae@gmail.com> References: <2006cef3-0e8c-49cc-9703-0fa70690a4ae@gmail.com> Feedback-ID: 96993444:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] [RFC] [Discussion] Opt-in DOM spec-compliance From: internals@gpb.moe ("Gina P. Banyard") On Wednesday, 17 January 2024 at 20:22, Niels Dossche wrote: > Hi internals >=20 > I'm starting discussion of my RFC "Opt-in DOM spec-compliance". >=20 > RFC link: https://wiki.php.net/rfc/opt_in_dom_spec_compliance > Pre-RFC pitch: https://externals.io/message/122048 >=20 > Kind regards > Niels Hello Niels, Thank you for the RFC and the thorough overview of the current state. I think converting the new aliases to proper classes which have the correct= spec behaviour is indeed the way to proceed. I do have some questions however, do you really think we need the DOMDocume= nt methods to import modern nodes into legacy documents? As I can imagine, this would provide fewer incentives for users to move to = the new spec compliant classes. The other thing to clarify is why and when would those return false, compar= ed to the methods that import legacy nodes which never throw? Best regards, Gina P. Banyard