X-Loop: help-debbugs@HIDDEN Subject: bug#12280: Bug#685872: emacs24 XHTML RELAX NG schema should support XHTML5 Resent-From: Rob Browning <rlb@HIDDEN> Original-Sender: debbugs-submit-bounces <at> debbugs.gnu.org Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Sat, 25 Aug 2012 18:33:01 +0000 Resent-Message-ID: <handler.12280.B.134591958126958 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 12280 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 12280 <at> debbugs.gnu.org Cc: 685872@HIDDEN, 685872-forwarded@HIDDEN, Ivan Shmakov <oneingray@HIDDEN> X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.134591958126958 (code B ref -1); Sat, 25 Aug 2012 18:33:01 +0000 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 <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1T5LAK-00070k-IP for submit <at> 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 <rlb@HIDDEN>) id 1T5LAH-00070b-8q for submit <at> 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 <rlb@HIDDEN>) id 1T5L9Z-0004bI-1w for submit <at> 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 <rlb@HIDDEN>) id 1T5L9Y-0004bE-UO for submit <at> 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 <rlb@HIDDEN>) id 1T5L9W-0002aC-Be for bug-gnu-emacs@HIDDEN; Sat, 25 Aug 2012 14:32:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <rlb@HIDDEN>) id 1T5L9U-0004ad-BJ for bug-gnu-emacs@HIDDEN; 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 <rlb@HIDDEN>) id 1T5L9U-0004aT-6a for bug-gnu-emacs@HIDDEN; Sat, 25 Aug 2012 14:32:08 -0400 Received: from trouble.defaultvalue.org (localhost [127.0.0.1]) (Authenticated sender: rlb@HIDDEN) 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 <rlb@HIDDEN> References: <86sjbadgis.fsf@HIDDEN> Date: Sat, 25 Aug 2012 13:30:57 -0500 In-Reply-To: <86sjbadgis.fsf@HIDDEN> (Ivan Shmakov's message of "Sun, 26 Aug 2012 00:32:11 +0700") Message-ID: <871uiux1r2.fsf@HIDDEN> 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-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Sender: debbugs-submit-bounces <at> debbugs.gnu.org Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org X-Spam-Score: -6.9 (------) (If possible, please preserve the 685872-forwarded@HIDDEN 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 <oneingray@HIDDEN> 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: > > <typeId id=3D"XSLT" uri=3D"xslt.rnc"/> > <typeId id=3D"RELAX NG" uri=3D"relaxng.rnc"/> > - <typeId id=3D"XHTML" uri=3D"xhtml.rnc"/> > + <!-- formely: xhtml.rnc --> > + <typeId id=3D"XHTML" uri=3D"validator-syntax-ed90a83ab0fd/relaxng/xhtm= l5.rnc"/> > <typeId id=3D"DocBook" uri=3D"docbook.rnc"/> > <typeId id=3D"RDF" uri=3D"rdfxml.rnc"/> > > (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
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.428 (Entity 5.428) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Rob Browning <rlb@HIDDEN> Subject: bug#12280: Acknowledgement (Bug#685872: emacs24 XHTML RELAX NG schema should support XHTML5) Message-ID: <handler.12280.B.134591958126958.ack <at> debbugs.gnu.org> References: <871uiux1r2.fsf@HIDDEN> X-Gnu-PR-Message: ack 12280 X-Gnu-PR-Package: emacs Reply-To: 12280 <at> debbugs.gnu.org Date: Sat, 25 Aug 2012 18:33:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-gnu-emacs@HIDDEN If you wish to submit further information on this problem, please send it to 12280 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 12280: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D12280 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
Received: (at control) by debbugs.gnu.org; 30 Oct 2019 23:16:25 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Oct 30 19:16:25 2019 Received: from localhost ([127.0.0.1]:51845 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1iPxCT-000167-38 for submit <at> 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 <skangas@HIDDEN>) id 1iPxCP-00010R-Uz for control <at> 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 <control <at> debbugs.gnu.org>; 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 <control <at> debbugs.gnu.org>; 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 <control <at> debbugs.gnu.org>; 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 <control <at> debbugs.gnu.org>; Thu, 31 Oct 2019 00:16:15 +0100 (CET) Received: from skangas by joffe.skangas.se with local (Exim 4.92) (envelope-from <skangas@HIDDEN>) id 1iPxC9-0007Zr-VY for control <at> debbugs.gnu.org; Thu, 31 Oct 2019 00:16:06 +0100 From: Stefan Kangas <stefan@HIDDEN> To: control <at> debbugs.gnu.org Message-Id: <E1iPxC9-0007Zr-VY@HIDDEN> Date: Thu, 31 Oct 2019 00:16:05 +0100 X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.1 (/) severity 12280 wishlist thanks
X-Loop: help-debbugs@HIDDEN Subject: bug#12280: Bug#685872: emacs24 XHTML RELAX NG schema should support XHTML5 Resent-From: Lars Ingebrigtsen <larsi@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Tue, 01 Jun 2021 07:32:02 +0000 Resent-Message-ID: <handler.12280.B12280.162253267914702 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 12280 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Rob Browning <rlb@HIDDEN> Cc: 685872@HIDDEN, 685872-forwarded@HIDDEN, Ivan Shmakov <oneingray@HIDDEN>, 12280 <at> debbugs.gnu.org Received: via spool by 12280-submit <at> debbugs.gnu.org id=B12280.162253267914702 (code B ref 12280); Tue, 01 Jun 2021 07:32:02 +0000 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 <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1lnyru-0003on-K7 for submit <at> 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 <larsi@HIDDEN>) id 1lnyrr-0003hY-ML for 12280 <at> 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 <larsi@HIDDEN>) id 1lnyrg-000599-TI; Tue, 01 Jun 2021 09:31:07 +0200 From: Lars Ingebrigtsen <larsi@HIDDEN> References: <86sjbadgis.fsf@HIDDEN> <871uiux1r2.fsf@HIDDEN> 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@HIDDEN> (Rob Browning's message of "Sat, 25 Aug 2012 13:30:57 -0500") Message-ID: <87tumica87.fsf@HIDDEN> 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 <rlb@HIDDEN> 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 =?UTF-8?Q?=E2=80=98aside=E2=80=99?= 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-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Rob Browning <rlb@HIDDEN> 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== --=-=-=--
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.