From unknown Fri Jun 13 09:58:41 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#12280 <12280@debbugs.gnu.org> To: bug#12280 <12280@debbugs.gnu.org> Subject: Status: Bug#685872: emacs24 XHTML RELAX NG schema should support XHTML5 Reply-To: bug#12280 <12280@debbugs.gnu.org> Date: Fri, 13 Jun 2025 16:58:41 +0000 retitle 12280 Bug#685872: emacs24 XHTML RELAX NG schema should support XHTM= L5 reassign 12280 emacs submitter 12280 Rob Browning severity 12280 wishlist thanks From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 25 14:33:00 2012 Received: (at submit) by debbugs.gnu.org; 25 Aug 2012 18:33:01 +0000 Received: from localhost ([127.0.0.1]:48654 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T5LAK-00070k-IP for submit@debbugs.gnu.org; Sat, 25 Aug 2012 14:33:00 -0400 Received: from eggs.gnu.org ([208.118.235.92]:34839) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T5LAH-00070b-8q for submit@debbugs.gnu.org; Sat, 25 Aug 2012 14:32:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T5L9Z-0004bI-1w for submit@debbugs.gnu.org; Sat, 25 Aug 2012 14:32:14 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:53263) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T5L9Y-0004bE-UO for submit@debbugs.gnu.org; Sat, 25 Aug 2012 14:32:12 -0400 Received: from eggs.gnu.org ([208.118.235.92]:42035) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T5L9W-0002aC-Be for bug-gnu-emacs@gnu.org; Sat, 25 Aug 2012 14:32:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T5L9U-0004ad-BJ for bug-gnu-emacs@gnu.org; Sat, 25 Aug 2012 14:32:10 -0400 Received: from defaultvalue.org ([70.85.129.156]:49022) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T5L9U-0004aT-6a for bug-gnu-emacs@gnu.org; Sat, 25 Aug 2012 14:32:08 -0400 Received: from trouble.defaultvalue.org (localhost [127.0.0.1]) (Authenticated sender: rlb@defaultvalue.org) by defaultvalue.org (Postfix) with ESMTPSA id 897A090D35; Sat, 25 Aug 2012 13:35:25 -0500 (CDT) Received: by trouble.defaultvalue.org (Postfix, from userid 1000) id 76FB014E07F; Sat, 25 Aug 2012 13:30:57 -0500 (CDT) From: Rob Browning To: bug-gnu-emacs@gnu.org Subject: Re: Bug#685872: emacs24 XHTML RELAX NG schema should support XHTML5 References: <86sjbadgis.fsf@gray.siamics.net> Date: Sat, 25 Aug 2012 13:30:57 -0500 In-Reply-To: <86sjbadgis.fsf@gray.siamics.net> (Ivan Shmakov's message of "Sun, 26 Aug 2012 00:32:11 +0700") Message-ID: <871uiux1r2.fsf@trouble.defaultvalue.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.118.235.17 X-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: submit Cc: 685872@bugs.debian.org, 685872-forwarded@bugs.debian.org, Ivan Shmakov X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) (If possible, please preserve the 685872-forwarded@bugs.debian.org address in any replies.) This Debian bug was just filed, requesting support for XHTML5. I'm not sure how/if you'd like to handle the issue, but thought I should pass it on. Ivan Shmakov writes: > Package: emacs24-common > Version: 24.1+1-4 > > The XHTML RELAX NG schema currently packaged with Emacs 24.1 in > Debian doesn't support XHTML5. For instance, nXML doesn't seem > to recognize =E2=80=98aside=E2=80=99 as a valid element in the example X= HTML5 > document MIME'd. > > I was able to find the schema with XHTML5 support at [1, 2], > and, in order to force nXML use it instead of the one shipped, > created a schemas.xml file (in the directory that holds the > example document) based on the contents of Emacs' own > etc/schema/schemas.xml, with only the following edit: > > > > - > + > + > > > > (I've unpacked the schema snapshot [2] into the same directory > as well.) > > Unfortunately, this schema uses the following datatype library > declaration [3], which Emacs doesn't seem to support: > > datatypes w =3D "http://whattf.org/datatype-draft" > > Thus, I've also had to provide the following =E2=80=9Cstub=E2=80=9D code: > > (defun rng-html5-compile (name params) > "A stub for the http://whattf.org/datatype-draft datatype library." > '(t identity)) > > (put (intern "http://whattf.org/datatype-draft") > 'rng-dt-compile > 'rng-html5-compile) > > Finally, it made Emacs recognize the =E2=80=98aside=E2=80=99 element int= roduced > in XHTML5. > > Hopefully, someone could implement proper support for [3]. > Either way, my suggestion would be to switch to the RELAX NG > XHTML schema that supports XHTML5 [1]. > > TIA. > > [1] http://syntax.whattf.org/ > [2] http://bitbucket.org/validator/syntax/get/ed90a83ab0fd.tar.bz2=20 > [3] http://hsivonen.iki.fi/html5-datatypes/ Thanks --=20 Rob Browning rlb @defaultvalue.org and @debian.org GPG as of 2002-11-03 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4 From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 30 19:16:25 2019 Received: (at control) by debbugs.gnu.org; 30 Oct 2019 23:16:25 +0000 Received: from localhost ([127.0.0.1]:51845 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iPxCT-000167-38 for submit@debbugs.gnu.org; Wed, 30 Oct 2019 19:16:25 -0400 Received: from giraff.fripost.org ([193.234.15.44]:42476 helo=outgoing.fripost.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iPxCP-00010R-Uz for control@debbugs.gnu.org; Wed, 30 Oct 2019 19:16:22 -0400 Received: from localhost (localhost [127.0.0.1]) by outgoing.fripost.org (Postfix) with ESMTP id 645B8187EC7C for ; Thu, 31 Oct 2019 00:16:16 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=x.fripost.org; h= date:date:message-id:from:from; s= 9df9cdc7e101629b5003b587945afa70; t=1572477376; x=1574291777; bh=T7VHOUDuAjo+DOjmNkQWFCv+4bUBA1jtya+vLzMJlo4=; b=XRO4botPokt2 L0h5Jtg+EpZYbG+PugAEmmDy0StbJHdGGLVEBmjeHLg1IFJISPepHQWSdtCAAqc9 mwRtoIAY0BGk966imygbLo6Kga5xSaJqWomMP9TMt9fS0H1feLgwSc/Y2WuTn08e W711dBo1NlgIYwcN3C4HmuJTZvTJokykKXTWPSEiA5lBJgSt3QbS9X4rzLdL0vFD 6bliIZnmva7FXttLvGDGbJMkUduKCP/YH9L/CFWsj54+5E9KhBNcP4xvgivPCy46 QC9gHJon7o5bRPbcGI8qXkzsGNcfHdY2bSIc8RZmMY3cORZj6YJvvQrw+67sJ3BV XYZCl1R+AQ== X-Virus-Scanned: Debian amavisd-new at fripost.org Received: from outgoing.fripost.org ([127.0.0.1]) by localhost (giraff.fripost.org [127.0.0.1]) (amavisd-new, port 10040) with LMTP id BdE8R4_yZ1PV for ; Thu, 31 Oct 2019 00:16:16 +0100 (CET) Received: from smtp.fripost.org (unknown [172.16.0.6]) by outgoing.fripost.org (Postfix) with ESMTP id 48065187EC78 for ; Thu, 31 Oct 2019 00:16:16 +0100 (CET) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by smtp.fripost.org (Postfix) with ESMTPSA id 3C21659A046B for ; Thu, 31 Oct 2019 00:16:15 +0100 (CET) Received: from skangas by joffe.skangas.se with local (Exim 4.92) (envelope-from ) id 1iPxC9-0007Zr-VY for control@debbugs.gnu.org; Thu, 31 Oct 2019 00:16:06 +0100 From: Stefan Kangas To: control@debbugs.gnu.org Message-Id: Date: Thu, 31 Oct 2019 00:16:05 +0100 X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.1 (/) severity 12280 wishlist thanks From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 01 03:31:18 2021 Received: (at 12280) by debbugs.gnu.org; 1 Jun 2021 07:31:19 +0000 Received: from localhost ([127.0.0.1]:35638 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lnyru-0003on-K7 for submit@debbugs.gnu.org; Tue, 01 Jun 2021 03:31:18 -0400 Received: from quimby.gnus.org ([95.216.78.240]:40554) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lnyrr-0003hY-ML for 12280@debbugs.gnu.org; Tue, 01 Jun 2021 03:31:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: 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=dOTvE331cdQVehJN5e/4l6Sb4UCSQbGCFD9seh4OE8M=; b=qfwua2wGiJlS20iBuDc+27Vi8O jm3pIBXsWnAlp6Qx1TRF4zcv+Lbl3hjX0odxBs6UnSt/ZUA/bHgija7SBQ1cZd9FSZl+QTc9DKrwN bKQqj06FN6hTbq+8oiWKGLSNdPwj67+Q/eJX9U5rHzqOxByuBNCRVzyd3pQcwZ7wfqaY=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lnyrg-000599-TI; Tue, 01 Jun 2021 09:31:07 +0200 From: Lars Ingebrigtsen To: Rob Browning Subject: Re: bug#12280: Bug#685872: emacs24 XHTML RELAX NG schema should support XHTML5 References: <86sjbadgis.fsf@gray.siamics.net> <871uiux1r2.fsf@trouble.defaultvalue.org> X-Now-Playing: 75 Dollar Bill's _I Was Real_: "WNZ3" Date: Tue, 01 Jun 2021 09:31:04 +0200 In-Reply-To: <871uiux1r2.fsf@trouble.defaultvalue.org> (Rob Browning's message of "Sat, 25 Aug 2012 13:30:57 -0500") Message-ID: <87tumica87.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Rob Browning writes: >> The XHTML RELAX NG schema currently packaged with Emacs 24.1 in >> Debian doesn't support XHTML5. For instance, nXML doesn't seem >> to recognize ‘aside’ as a valid element in the example XHTML [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 12280 Cc: 685872@bugs.debian.org, 685872-forwarded@bugs.debian.org, Ivan Shmakov , 12280@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Rob Browning writes: >> The XHTML RELAX NG schema currently packaged with Emacs 24.1 in >> Debian doesn't support XHTML5. For instance, nXML doesn't seem >> to recognize =E2=80=98aside=E2=80=99 as a valid element in the example = XHTML5 >> document MIME'd. (I'm going through old bug reports that unfortunately got no response at the time.) This still seems to be the case in Emacs 28 -- the test file below doesn't recognise the `aside' element. So we should probably update etc/schema/xhtml*.rnc? Anybody know where we can get a new copy? --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no --=-=-= Content-Type: application/xhtml+xml Content-Disposition: attachment; filename=a.xhtml Content-Transfer-Encoding: base64 PCEtLSBleGFtcGxlLnhodG1sIOKAlCBhbiBYSFRNTDUgZXhhbXBsZSAgLSotIG5YTUwgLSotIC0t Pgo8aHRtbCB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94aHRtbCI+CiAgPGhlYWQ+CiAg ICA8dGl0bGU+SGVsbG8sIHdvcmxkITwvdGl0bGU+CiAgPC9oZWFkPgogIDxib2R5PgogICAgPGgx PkhlbGxvLCB3b3JsZCE8L2gxPgogICAgPHA+VGhpcyBpcyBhbiBYSFRNTDUgZXhhbXBsZTwvcD4K ICAgIDxhc2lkZT4KICAgICAgPHA+VGhlIHNvbGUgcHVycG9zZSBvZiB0aGlzIGV4YW1wbGUgaXMg dG8gc2hvdyB0aGF0IHRoZSBSRUxBWCBORwogICAgICBzY2hlbWF0YSBkaXN0cmlidXRlZCB3aXRo IHRoZSBlbWFjczI0LWNvbW1vbiBEZWJpYW4gcGFja2FnZSBkbyBub3QKICAgICAgY3VycmVudGx5 IHN1cHBvcnQgWEhUTUw1LjwvcD4KICAgIDwvYXNpZGU+CiAgPC9ib2R5Pgo8L2h0bWw+CjwhLS0g ZXhhbXBsZS54aHRtbCBlbmRzIGhlcmUgLS0+Cg== --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sat May 07 12:40:32 2022 Received: (at 12280) by debbugs.gnu.org; 7 May 2022 16:40:32 +0000 Received: from localhost ([127.0.0.1]:52873 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nnNTs-0000uT-0X for submit@debbugs.gnu.org; Sat, 07 May 2022 12:40:32 -0400 Received: from quimby.gnus.org ([95.216.78.240]:49796) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nnNTq-0000uD-2O for 12280@debbugs.gnu.org; Sat, 07 May 2022 12:40:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: 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=Vg5A/6HDr+I1lRuRDtJ0vJaINsxNah85d2a/O37MDhA=; b=uJ6j36WN8/4liC8jqsjb1fKlZP nLrqK7Ds3S/wFryRtmNWuEouUxeYkgOKos2NJRqH9fpr9zQOb7eaybzd9TBwKfHjYJ/ME9OBmfXUB 7UoIlH13pahLEVVFqgM1TWLeHnEWatB6/gmhD7zmjiotK1HF82mqHq45t3qmR5ly1uWM=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nnNTg-0005Ag-6A; Sat, 07 May 2022 18:40:22 +0200 From: Lars Ingebrigtsen To: Rob Browning Subject: Re: bug#12280: Bug#685872: emacs24 XHTML RELAX NG schema should support XHTML5 References: <86sjbadgis.fsf@gray.siamics.net> <871uiux1r2.fsf@trouble.defaultvalue.org> <87tumica87.fsf@gnus.org> X-Now-Playing: 50 Foot Wave's _Black Pearl_: "Fly Down South" Date: Sat, 07 May 2022 18:40:19 +0200 In-Reply-To: <87tumica87.fsf@gnus.org> (Lars Ingebrigtsen's message of "Tue, 01 Jun 2021 09:31:04 +0200") Message-ID: <874k21mh3g.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Lars Ingebrigtsen writes: > So we should probably update etc/schema/xhtml*.rnc? Anybody know where > we can get a new copy? It seems like the source of the data is: Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 12280 Cc: 685872@bugs.debian.org, 685872-forwarded@bugs.debian.org, Ivan Shmakov , 12280@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Lars Ingebrigtsen writes: > So we should probably update etc/schema/xhtml*.rnc? Anybody know where > we can get a new copy? It seems like the source of the data is: 1. The XHTML Modularization Version 1.1 standard, available online at http://www.w3.org/TR/xhtml-modularization/ xhtml-applet.rnc xhtml-attribs.rnc xhtml-base.rnc xhtml-bdo.rnc xhtml-bform.rnc xhtml-btable.rnc xhtml-csismap.rnc xhtml-datatypes.rnc xhtml-edit.rnc xhtml-events.rnc xhtml-form.rnc xhtml-frames.rnc xhtml-hypertext.rnc However, I can't find anything there that resembles these .rnc files. A search for site:w3.org "xhtml-form.rnc" gives me zero hits, but perhaps they're in a zip file somewhere? Searching the rest of the web, I just get hits from Emacs packages. It seems like http://www.w3.org/TR/xhtml-modularization/ was indeed updated in 2018, but I can't find the data files. Anybody? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no