Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:126481 X-Original-To: internals@lists.php.net Delivered-To: internals@lists.php.net Received: from php-smtp4.php.net (php-smtp4.php.net [45.112.84.5]) by qa.php.net (Postfix) with ESMTPS id 03F011A00BC for ; Sun, 23 Feb 2025 17:47:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1740332710; bh=GzWuKxM2TpaanYpSKpkNe8+kBG4ogF1p4U/56YtxcFY=; h=From:To:Cc:References:In-Reply-To:Subject:Date:From; b=fObLJsJ31EqkBtkba4v4sNcrEH7C+C+MJauVrvyHUzZrq5V+Uk5koYVJb9QVo7swO 25HsM8maW3Aj1KoIAfk+uRzlnV8OiTltXn9DH/QD6QBd0sIT0W0j5OBQM9QrfqsksH ujSdTeOkST/CTJOIsYKa9idobXG5V4DH/imyiG60sb9MBxab0e5kqXFX82di+sixez /VGB7C26iRuwZfX+PaX0hCKXXL/EhFwLTLRF2rZ/Mm1CVpd8BpnjGoBCmBfjZjcwvV ZgkUnSNETP2PK4nfpu5zDLoWhTdgXP5XTlkWDwfR/QuBAQ3RWptIAT+O8q+F7BF+Yr /IhzSQMw8B7MA== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 69B2418007F for ; Sun, 23 Feb 2025 17:45:09 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-1.2 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_50, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_MISSING, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS, T_PDS_PRO_TLD autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from zebra.cherry.relay.mailchannels.net (zebra.cherry.relay.mailchannels.net [23.83.223.195]) (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 ; Sun, 23 Feb 2025 17:45:08 +0000 (UTC) X-Sender-Id: yszpovajlk|x-authuser|juris@glaive.pro Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 339DE781D6C; Sun, 23 Feb 2025 17:47:47 +0000 (UTC) Received: from server42.areait.lv (100-101-191-136.trex-nlb.outbound.svc.cluster.local [100.101.191.136]) (Authenticated sender: yszpovajlk) by relay.mailchannels.net (Postfix) with ESMTPA id 94C7378226E; Sun, 23 Feb 2025 17:47:45 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1740332866; a=rsa-sha256; cv=none; b=SAcmOHKyYBltpgW5ijtNql4HuaoT9VenTdmKxB0TbrWdN+bJWOIM2eOQK4ZDDQcRC0oDly 9Jx3Y4qbudZpK1JgP4D8KmildVp9nnXGWXaoFik2HlEnNbhJC7+3jebHrh2+dgh8fk3bUr zu3NZSMTf2cV3Poc2RfyaujBduRRVP3KATC2k/Cx0hyl8esV2B2DtNfb+f0E5c1ffYZIIC tXXc/6XeJBnzkpB93XbbnNQHPnJxrTLZ/0YmfoHoig+X5Q79pI5IjlS7A//wbDBrXHqZJ2 NpAWgvpKbh/W4Nb0mYp5vbdA4DbhT43EGv54G2pDOIluXshCP8KAH3gF/zudAw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1740332866; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=GzWuKxM2TpaanYpSKpkNe8+kBG4ogF1p4U/56YtxcFY=; b=dXjZeIzjZPWXNC7zu7K5xjx4dFvpIu3IJNzhDG0Behl5fAGZqVRg3IPH07ZDiHnIxhtt1v /yu/qj2l3vtB4GsRxFFQ90HqsmKylbjLLZYKB0/3GmMVOoWYBS6gNQPMvuLgTjcr4WGWmP u0Vv2Q1qTpd49t/zWZW0QHymmlb74ueDEirb20w7xDEyB5c36irzBg2OcC9/Jg55/u1vkg N4hqgY0dxtVX4+FJYntPAaqm4Z5tIk4mbGyy8NA+gwAf9q04pwM+gN19TZr2As7vlEYjKl 6Xae8wW+jYcT/lx1z0nod3Bdr/MikQSLn4xtncAOPE0D1Dai2L/phY2Myq99QA== ARC-Authentication-Results: i=1; rspamd-6d7cc6b78d-lvf2p; auth=pass smtp.auth=yszpovajlk smtp.mailfrom=juris@glaive.pro X-Sender-Id: yszpovajlk|x-authuser|juris@glaive.pro X-MC-Relay: Neutral X-MailChannels-SenderId: yszpovajlk|x-authuser|juris@glaive.pro X-MailChannels-Auth-Id: yszpovajlk X-Spot-Company: 3e59ae7d4ccbfcc3_1740332866493_2067704051 X-MC-Loop-Signature: 1740332866493:1314997738 X-MC-Ingress-Time: 1740332866493 Received: from server42.areait.lv (server42.areait.lv [212.7.207.88]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384) by 100.101.191.136 (trex/7.0.2); Sun, 23 Feb 2025 17:47:46 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=glaive.pro; s=default; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID: Date:Subject:In-Reply-To:References:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=GzWuKxM2TpaanYpSKpkNe8+kBG4ogF1p4U/56YtxcFY=; b=Tho+qCXMguwx4AuyLn4NXR4xj1 FmCftXh9p0rRAdN/pPe4jA/4iaggupCLlvy4kOoerM5hXltodHlTR0VtWHRlheXSey1IJ5EEjT5hn HsdN1CF0SLP/CffYsIzfVHn0o/BMYyhX0nUH+eaHVA1pDYHZtnfh8TZg6Cfu2NGrLlzXf+UefuYpp n6DnLFNshMb5AtGyKDLPL92C+Xb+qP2prwQmnypkZ+w4wdYssGYASWZoMFCpDqo4/sx0rBS1EUdXH yZ5hT8FiuDo+kVeQ6GeWAQUJypST+iNzH7Vuqd6pj6KFGLajqR/6zvRu54EUFPNA6DGljmnbrMmWW UVH4Gqpg==; Received: from [77.93.29.116] (port=51146 helo=LAPTOPHKIOPCGI) by server42.areait.lv with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96.2) (envelope-from ) id 1tmG4t-007i9s-0U; Sun, 23 Feb 2025 19:47:43 +0200 To: =?iso-8859-1?Q?'Tim_D=FCsterhus'?= , =?iso-8859-1?Q?'M=E1t=E9_Kocsis'?= Cc: "'Internals'" References: <1BCB4144-231D-45EA-A914-98EE8F0F503A@automattic.com> <8E614C9C-BA85-45D8-9A4E-A30D69981C5D@automattic.com> In-Reply-To: Subject: RE: [PHP-DEV] [RFC] [Discussion] Add WHATWG compliant URL parsing API Date: Sun, 23 Feb 2025 19:47:41 +0200 Message-ID: <015e01db861b$09afb270$1d0f1750$@glaive.pro> Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQLe4kyxWt+8zp1/3FCGYge03o+q8wKPSSkFAfGh/RwA/A1g6gHDXzCcAqI59VsCsgTZ8AIUaSaxAJ1eW3Ow1DkAQA== Content-Language: lv X-AuthUser: juris@glaive.pro From: juris@glaive.pro ("Juris Evertovskis") -----Original Message----- From: Tim D=FCsterhus =20 Sent: Sunday, February 23, 2025 5:05 PM To: M=E1t=E9 Kocsis Cc: Internals Subject: Re: [PHP-DEV] [RFC] [Discussion] Add WHATWG compliant URL = parsing API > Naming of `WhatWgError` and `WhatWgErrorType`. They are placed within = the `Uri\WhatWg` namespace, making the `WhatWg` in their name a little redundant. Hey, As those are URI validation errors, maybe something like `Uri\WhatWg\ValidationError` would be both less clashy and less = redundant? If I'd see `WhatWgError` without seeing the "Uri" keyword I'd probably = think it's related to other aspects of the spec, e.g. something went wrong = with the HTML parsing. Although I understand it's validating against the = WhatWg spec, `UriError` would seem clearer to me.=20 BR, Juris