Re: Re: [RFC] [Discussion] DOM HTML5 parsing and serialization support
| From: | Derick Rethans | Date: | Mon, 25 Sep 2023 09:23:17 +0000 |
| Subject: | Re: Re: [RFC] [Discussion] DOM HTML5 parsing and serialization support | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-121136@lists.php.net to get a copy of this message | ||
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 <php>Exception</php> class
> (see also
> pHzö³D®ƒ[æÇc
> ²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