Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:104884 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 78664 invoked from network); 23 Mar 2019 12:41:23 -0000 Received: from unknown (HELO mail-lf1-f41.google.com) (209.85.167.41) by pb1.pair.com with SMTP; 23 Mar 2019 12:41:23 -0000 Received: by mail-lf1-f41.google.com with SMTP id r25so2940600lfn.13 for ; Sat, 23 Mar 2019 02:34:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=beberlei-de.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Ypi4qoJa4ZzGmkA24rmIGEpFKhwPVtYh0whdVtRYiE0=; b=0gK8JQeTvmpY7EChbIAwV6cN7SorDNg0Skgxo7YwU4pfKGQILolaYviriL50D21IUS pnN2o9NPs2GnmvcEn7xVCvXNMtiAlWbzhBZBM067lZDlJM4XHfVOylBnq3SuXc1dfzYu vLxKoAfkBc0mDtvU9jUNJz3CBakB4YzQhN9gn73QqXVG+b1i9f8ijpK3CDqqfDfu+q+s VHRotup1016D+qSFVhU7iLvLNk6gWi+Cv7jduFV7Yxm/z82/6GfpslNPUdkEMjwnvWiS Nbcmxz6R6E99gbIUgDYw+jYyw8T5lnaf4C/f4d5kqvyXX2tF6RnhpQmjhEIiw8fMn9UR vzCQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Ypi4qoJa4ZzGmkA24rmIGEpFKhwPVtYh0whdVtRYiE0=; b=UF2WlNsofitFA1X/oFHFtFlnG0rZGMr0p4Bf63L6j829g1GT/X6cWTjjv7xd4QeMnW veH48BN2i5An5g0eUE8cH4ziXOzh7FU2kX/RhSDEvE1mVLOnTeJhI2L+cfuQ5w94G/Cx NxPWXCSLdta4nmy9MoJGcXRTIlL5d+wdR0+3PsW8hgvWSXHs4QQCPwIgcZvy2TypRcTP kloprDHJBQqSATHWuGy72uGl+uJ7x2UJOCOzVDnLe+J+Jiucwn+RosOngClCTuhqjL++ r3tCpPx8url73jWhNBLIhfVQZjcxVijesN0+K4gDYvpFSjKjw1H+fpeJ36tOoqe2YdYi nGDw== X-Gm-Message-State: APjAAAWQ4ubzRzrhznLJmLjXFC/7N7us53Rm17gcn31MWHT9QcEHk7Va M7przvBg3LjJPW/mAFjWigkNgdc1N1wG+/z0FXTMYg== X-Google-Smtp-Source: APXvYqziJ6CCTe1bgSu2WdFyuGgMZAfMRVD0U9a0Z/0zEKEhor0B83kbkDjeiXUt/tUzAL6lnSx7v9vXyftjBTZELN0= X-Received: by 2002:ac2:5396:: with SMTP id g22mr7170267lfh.120.1553333639479; Sat, 23 Mar 2019 02:33:59 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Sat, 23 Mar 2019 10:33:46 +0100 Message-ID: To: Claude Pache Cc: PHP Internals , Thomas Weinert Content-Type: multipart/alternative; boundary="000000000000cc9e740584bfab85" Subject: Re: [PHP-DEV] [RFC] DOM Living Standard API From: kontakt@beberlei.de (Benjamin Eberlei) --000000000000cc9e740584bfab85 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Fri, Mar 22, 2019 at 11:26 PM Claude Pache wrote: > Beware that behaviour of some methods should differ between HTML and > non-HTML documents. For instance, the RFC says: > > > DOMElement=E2=86=92nodeName casing was previously undefined, it is now = changed > to always uppercase. > > However, the DOM Living Standard says it is uppercase (even, > ASCII-uppercased) only in the HTML namespace. For XML documents, the casi= ng > is not modified. > You are absolutely right, i missed that in the convoluted description of the behavior :-) I need to rethink how this would fit with the compatibility flags, it might cause a problem given that loadHTML for example doesn't automatically put the elements into HTML namespace. I updated the RFC to reflect this. To be honest, the compatibility thing is what i am least sure in, especially if this should be combined with the new methods + removal of unused code or should be handled separately. > =E2=80=94Claude > > --000000000000cc9e740584bfab85--