Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:122287 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 4818 invoked from network); 5 Feb 2024 21:44:13 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 5 Feb 2024 21:44:13 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1707169504; bh=gjvMz0Zx2VYsUamodgAjetgdGk5AgYKxkdtN7yyLHHo=; h=Date:Subject:From:To:References:In-Reply-To:From; b=aBC/xkEyx2m8yo6emzd5EFL9JEWyRKaGFLdH/iVZ0l0xCapsPobFfYk0U+yNjoRwd UZ3ZX9eA/U+LLnedyu+AhD9492SxERU0tc1xQEgjZ5BZqHZLl30yfffiy6jY9ZZ1YW CAndj68nD/zPmF9Vo0yF7q7BoCN/ZwjvC9WoQRW7iFNRo3hfs7dB6ri0N/pxdqyTfi 4He7XoscGRfRPiz4og7m3wzDRpC7TQIvYYTFVIbpCe3JaE+1hmNHIJlBMCi0IwCBkz FCtNjS+rGMqLt6Dzag0TtCRQ9RLdRIC558GBmvTdw3Ue0N5ZcMuqHhF+B7Qib9W1H4 Vwep7HNNe74ww== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 15EBC18004F for ; Mon, 5 Feb 2024 13:45:04 -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=-0.4 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from mail-wr1-f43.google.com (mail-wr1-f43.google.com [209.85.221.43]) (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 ; Mon, 5 Feb 2024 13:45:03 -0800 (PST) Received: by mail-wr1-f43.google.com with SMTP id ffacd0b85a97d-33b401fd72bso883350f8f.3 for ; Mon, 05 Feb 2024 13:44:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1707169450; x=1707774250; darn=lists.php.net; h=content-transfer-encoding:in-reply-to:content-language:references :to:from:subject:user-agent:mime-version:date:message-id:from:to:cc :subject:date:message-id:reply-to; bh=uFlHqI8pfDw8+jcmHyd0xprYtX5QsE04g0PctCjbEvE=; b=PpCvpafqqk4B+jbFmp7QMCD+n09kUCCQzGX0KLRVs7bgvx9X0fLwzviYiagydr0+ZD s69mouuOMtf70VSrBYKwK+RVjaGa6X9SU17/cAfgrksdczqiaNhLn64QrWQETStGpcCo RoB1oCipXc8KzzAippt9eJDwrcG1D1k325tEAG3C1OeOXz5FqEcWeC5pBLpzQ7RYlOYz /qo+Q9/QWOWz9U9bOxuOtkag2SMoRbj39RwrJdCKvz7YXchfegOhl3VpaRglwgJrEPyC O/Jnfyz135J2XVzhxogjtgpQpeaL0tURJ7Qw4LxwkEW0kf82qqgSN89qI4Ft4kNtQ//h uYHA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707169450; x=1707774250; h=content-transfer-encoding:in-reply-to:content-language:references :to:from:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=uFlHqI8pfDw8+jcmHyd0xprYtX5QsE04g0PctCjbEvE=; b=RuWwwUsNWSaduxh9xVLvVEBsBB5dw3QEcHmdgfXbKgDCwTCTm+IE6wtjsqLWWDTUXt mRRETuVNHpZqee7qzfp1wnyGPvwdpDAhqL35vojsLMN2FfeT7LdPi+Sg4cblUkMH9Pwr Ne25wnfBNNQ2rlJsdhV7cjt+lq999OQ3Ux5Y45b/e2Ds2m7arpa13G/ALT4GR+yjJuH2 w2B/rxXQxeEhbfBInRXT66J+Q7piR2q8k8abmiKJGsMTaOC7AqUqG/Aaerl7Vm3dn0iE 866kvY7Vd9v2uuLnxdT4QEeIGlhKS5EORy2SekIOQZjSxRNGSvjGzdn2Gl8YOyhWm0bY aLlg== X-Gm-Message-State: AOJu0Yyu4ToD1MCmDwUmwScJd0h3FdxiX09T4n0zuY1vnR/Hgb+SCXCG aCGJkIMr/wzlJNowA9RnNUi6sPurZ+7tolEFRV/8EZsLy52nIzzs/VtUzFRC X-Google-Smtp-Source: AGHT+IFeqXWP7O1DvxZ63lfiCYmYagdqQlVzghbyWf0doVPnu1yjT2SHua++xzquFKugSJxSP9zHJw== X-Received: by 2002:a5d:4c92:0:b0:33b:3cb6:10ac with SMTP id z18-20020a5d4c92000000b0033b3cb610acmr594810wrs.2.1707169449850; Mon, 05 Feb 2024 13:44:09 -0800 (PST) Received: from ?IPV6:2a02:1811:cc83:ee30:8e76:2662:766d:ebaa? (ptr-dtfv04vjm7u23t23d7u.18120a2.ip6.access.telenet.be. [2a02:1811:cc83:ee30:8e76:2662:766d:ebaa]) by smtp.gmail.com with ESMTPSA id s9-20020a05600c45c900b0040fddaf9ff4sm2682650wmo.40.2024.02.05.13.44.09 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 05 Feb 2024 13:44:09 -0800 (PST) Message-ID: Date: Mon, 5 Feb 2024 22:44:08 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird To: PHP internals References: <2006cef3-0e8c-49cc-9703-0fa70690a4ae@gmail.com> Content-Language: en-US In-Reply-To: <2006cef3-0e8c-49cc-9703-0fa70690a4ae@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [RFC] [Discussion] Opt-in DOM spec-compliance From: dossche.niels@gmail.com (Niels Dossche) Hi internals On 17/01/2024 21:22, Niels Dossche wrote: > Hi internals > > I'm starting discussion of my RFC "Opt-in DOM spec-compliance". > > RFC link: https://wiki.php.net/rfc/opt_in_dom_spec_compliance > Pre-RFC pitch: https://externals.io/message/122048 > > Kind regards > Niels I'm currently quite busy implementing the last part of the proposal: fixing the type issues. I'm just letting you know that, based on the current development, I decided to drop the adopt{Legacy,Modern}Node methods from the proposal. The import{Legacy,Modern}Node methods will remain however. The reason for the drop is that the adopt method could create two different representations (i.e. DOM\Node and DOMNode) of the same internal object, causing potential issues as the new DOM and old DOM make different assumptions. Importing does not suffer from this because unlike adopting, no copy is made. Cheers Niels