Re: [RFC] [Discussion] DOM HTML5 parsing and serialization support

From: Date: Tue, 05 Sep 2023 01:31:00 +0000
Subject: Re: [RFC] [Discussion] DOM HTML5 parsing and serialization support
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-120984@lists.php.net to get a copy of this message
On 9/2/23 14: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
Thanks, Niels. This is much needed.
This proposal introduces the DOM\HTML5Document class that extends the DOMDocument class.
In light of the recent discussion regarding casing of acronyms in class and method names [1], perhaps this proposal should consider Dom\Html5Document instead? I know this isn't consistent with the other DOMDocument classes, so maybe remaining consistent is better in this case.
I propose to use Lexbor.
Lexbor is licensed under the Apache-2.0 license [2]. In general, I don't think this will present any problems, as long as we adhere to the terms of the license (i.e., include the NOTICE file, etc.), but I did want to call attention to it in case bundling the source code of an Apache-2.0 project within a PHP-3.01 project is a cause for concern for anyone. Cheers, Ben [1]: https://externals.io/message/120959 [2]: https://github.com/lexbor/lexbor/blob/master/LICENSE

Attachment: [application/pgp-signature] OpenPGP digital signature OpenPGP_signature.asc
« previous php.internals (#120984) next »