GNU logs - #12280, boring messages


Message sent to bug-gnu-emacs@HIDDEN:


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




Message sent:


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



Last modified: Fri, 31 Oct 2014 17:00:04 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.