Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:121136 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 18392 invoked from network); 25 Sep 2023 09:23:19 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 25 Sep 2023 09:23:19 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 50E35180503 for ; Mon, 25 Sep 2023 02:23:18 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,SPF_HELO_PASS, SPF_NEUTRAL,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS30827 82.113.144.0/20 X-Spam-Virus: No X-Envelope-From: Received: from xdebug.org (xdebug.org [82.113.146.227]) by php-smtp4.php.net (Postfix) with ESMTP for ; Mon, 25 Sep 2023 02:23:17 -0700 (PDT) Received: from localhost (localhost [IPv6:::1]) by xdebug.org (Postfix) with ESMTPS id 32A0910C4BA; Mon, 25 Sep 2023 10:23:17 +0100 (BST) Date: Mon, 25 Sep 2023 10:23:17 +0100 (BST) To: Niels Dossche cc: PHP Internals In-Reply-To: <0eeb57d5-f7d8-4d76-95ce-97fc4b45ebdb@gmail.com> Message-ID: References: <0eeb57d5-f7d8-4d76-95ce-97fc4b45ebdb@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Subject: Re: [PHP-DEV] Re: [RFC] [Discussion] DOM HTML5 parsing and serialization support From: derick@php.net (Derick Rethans) On Sat, 23 Sep 2023, Niels Dossche wrote: > On 9/2/23 21:41, Niels Dossche wrote: > > > > I'm opening the discussion for my RFC "DOM HTML5 parsing and > > serialization support". > > https://wiki.php.net/rfc/domdocument_html5_parser > > Some minor changes after a discussion with Tim: > > * The old class names are now written with a leading backslash to > emphasize they are in the global namespace. Hopefully this will resolve > confusion around them. > > * Fixed unclear wording, i.e. "type hint" -> "type declaration" > > * The alias for DOMException will be DOM\DOMException. Because that's the > official name per DOM spec, and otherwise importing it and using it > would be confusing with the global namespace Exception class > (see also > https://github.com/php/php-src/pull/9071#issuecomment-1193162754 for > precedent). I have just read the RFC, and I find it both well written and compelling to accept. +1 from me. cheers, Derick -- https://derickrethans.nl | https://xdebug.org | https://dram.io Author of Xdebug. Like it? Consider supporting me: https://xdebug.org/support Host of PHP Internals News: https://phpinternals.news mastodon: @derickr@phpc.social @xdebug@phpc.social twitter: @derickr and @xdebug