Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:121132 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 22346 invoked from network); 23 Sep 2023 19:56:48 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 23 Sep 2023 19:56:48 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 35F131804D0 for ; Sat, 23 Sep 2023 12:56:48 -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=-0.7 required=5.0 tests=BAYES_05,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS15169 209.85.128.0/17 X-Spam-Virus: No X-Envelope-From: Received: from mail-ej1-f50.google.com (mail-ej1-f50.google.com [209.85.218.50]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Sat, 23 Sep 2023 12:56:47 -0700 (PDT) Received: by mail-ej1-f50.google.com with SMTP id a640c23a62f3a-9a9cd066db5so536391666b.0 for ; Sat, 23 Sep 2023 12:56:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695499006; x=1696103806; 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=1NR8a1Wy6gj4YPoafn3vZ7SCGFtkcJw0LDyjT8P826A=; b=jYv0zP6dZYfa+H/Z1TgBuKIQRhna5G7cvYQmCsLQWK9rTTRXZm9Bd2T0b40rz/7nR9 +ArhjoG7280y0phuSOdlXLPnpxuKdALbZ5uOb+rb2KKEAeOl8jC25D2LtlfVOifbwXB2 bWtMwC/DAaeC5QXVyHuSgcRWGPhIrEmPfkeZk9i9i0YDXz1AQW9Q8h94k8nVQw4rl1Rj BD27SIgLLi1USUcOR6Tjk883gU5/+c9Ib6OOl+doAHNqX6K9K1J76NKxLkApdpRj8YhY 5mstvy5vRut0bhixugeKSIDI5ErTgxfkHM1r54JZBJSlRCaozdtz2SzOBDb5yiDaBz/M pwag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695499006; x=1696103806; 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=1NR8a1Wy6gj4YPoafn3vZ7SCGFtkcJw0LDyjT8P826A=; b=LsbHFiFrvgyy2nmSxzGghnzyg6Vh3XYwQUa8zZ8exEkUqI68+mnKX9IIeaAgm5q3K1 wc9uy2E5zL83pV+gwLq3mPGc97vxpRcRR3VJsgTU2/biqEY+0gBhVIFWYFVLVcUYRqLt RSeVb3bDYzgneSW2vlJ9ykd04+WR/WZh5hA1kiHZ61nZYu2g1yuxbF0UM6x5x8PfNJ1Z 2NRX5Gk8vw/l4RO0QTeDnvTpa7sM+0ErmF44EQDi6VEGSNn/IaQhsGoI9+99T6/tRoTT 8ocl4yF70Mq+LB9LWIQ70nwagxOrorZ+gyutbBJuZyBYFFCX+FCKACC3/WgjNlQoxDCy yBgQ== X-Gm-Message-State: AOJu0YzMlJbvsC9Ns+l909mQXrtwYTiNn8jNetPaAM6cZDyV5CbwR3mf sW8VSvZBJIgoIwNRn6iVzwhlntBU9/A= X-Google-Smtp-Source: AGHT+IGoccKtXnDtAYqUudrgY34kJbWQjtLmrrjymgYgjFCXVFa16znU9JDYzKiPI5OFHe6JCc/2cw== X-Received: by 2002:a17:906:7491:b0:9a1:d29c:6a9d with SMTP id e17-20020a170906749100b009a1d29c6a9dmr2923931ejl.46.1695499006201; Sat, 23 Sep 2023 12:56:46 -0700 (PDT) Received: from [192.168.0.59] (178-117-137-225.access.telenet.be. [178.117.137.225]) by smtp.gmail.com with ESMTPSA id h11-20020a170906854b00b0099b8234a9fesm4226284ejy.1.2023.09.23.12.56.45 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 23 Sep 2023 12:56:45 -0700 (PDT) Message-ID: <0eeb57d5-f7d8-4d76-95ce-97fc4b45ebdb@gmail.com> Date: Sat, 23 Sep 2023 21:56:44 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird To: PHP Internals References: Content-Language: en-US In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [RFC] [Discussion] DOM HTML5 parsing and serialization support From: dossche.niels@gmail.com (Niels Dossche) Hi internals On 9/2/23 21:41, Niels Dossche wrote: > Hello internals > > I'm opening the discussion for my RFC "DOM HTML5 parsing and serialization support". > https://wiki.php.net/rfc/domdocument_html5_parser > > Kind regards > Niels 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). Kind regards Niels