Received: (at 12280) by debbugs.gnu.org; 1 Jun 2021 07:31:19 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jun 01 03:31:18 2021 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> To: Rob Browning <rlb@HIDDEN> Subject: Re: bug#12280: Bug#685872: emacs24 XHTML RELAX NG schema should support XHTML5 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 ‘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@HIDDEN, 685872-forwarded@HIDDEN, Ivan Shmakov <oneingray@HIDDEN>, 12280 <at> debbugs.gnu.org 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== --=-=-=--
bug-gnu-emacs@HIDDEN
:bug#12280
; Package emacs
.
Full text available.Stefan Kangas <stefan@HIDDEN>
to control <at> debbugs.gnu.org
.
Full text available.Received: (at submit) by debbugs.gnu.org; 25 Aug 2012 18:33:01 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Aug 25 14:33:00 2012 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> To: bug-gnu-emacs@HIDDEN Subject: Re: Bug#685872: emacs24 XHTML RELAX NG schema should support XHTML5 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-Debbugs-Envelope-To: submit Cc: 685872@HIDDEN, 685872-forwarded@HIDDEN, Ivan Shmakov <oneingray@HIDDEN> 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
Rob Browning <rlb@HIDDEN>
:bug-gnu-emacs@HIDDEN
.
Full text available.bug-gnu-emacs@HIDDEN
:bug#12280
; Package emacs
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.