From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Patrick Drechsler Newsgroups: gmane.emacs.bugs Subject: bug#269: 23.0.60; [nxml] BOM and utf-8 Date: Sat, 17 May 2008 14:31:39 +0200 Organization: none Message-ID: <87od75kt78.fsf__16185.494073625$1211043647$gmane$org@pdrechsler.de> Reply-To: Patrick Drechsler , 269@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: ger.gmane.org 1211043602 30958 80.91.229.12 (17 May 2008 17:00:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 17 May 2008 17:00:02 +0000 (UTC) To: emacs-pretest-bug@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat May 17 19:00:40 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JxPlv-0006yq-CV for geb-bug-gnu-emacs@m.gmane.org; Sat, 17 May 2008 19:00:39 +0200 Original-Received: from localhost ([127.0.0.1]:46787 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JxPlB-0007MA-TY for geb-bug-gnu-emacs@m.gmane.org; Sat, 17 May 2008 12:59:53 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JxN8T-0002PE-CC for bug-gnu-emacs@gnu.org; Sat, 17 May 2008 10:11:45 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JxN8S-0002Oh-8d for bug-gnu-emacs@gnu.org; Sat, 17 May 2008 10:11:44 -0400 Original-Received: from [199.232.76.173] (port=46429 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JxN8R-0002OZ-W5 for bug-gnu-emacs@gnu.org; Sat, 17 May 2008 10:11:44 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:55719) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JxN8R-0003ag-MX for bug-gnu-emacs@gnu.org; Sat, 17 May 2008 10:11:44 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m4HEBf25030898; Sat, 17 May 2008 07:11:41 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m4HE55N4028675; Sat, 17 May 2008 07:05:05 -0700 X-Loop: don@donarmstrong.com Resent-From: Patrick Drechsler Original-Sender: emacs-devel-bounces+monnier=iro.umontreal.ca@gnu.org Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sat, 17 May 2008 14:05:05 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 269 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.121103250725685 (code B ref -1); Sat, 17 May 2008 14:05:05 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 17 May 2008 13:55:07 +0000 Original-Received: from mercure.iro.umontreal.ca (mercure.iro.umontreal.ca [132.204.24.67]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m4HDswVY025448 for ; Sat, 17 May 2008 06:54:59 -0700 Original-Received: by mercure.iro.umontreal.ca (Postfix, from userid 20848) id 714622CFC8E; Sat, 17 May 2008 09:54:57 -0400 (EDT) Original-Received: from pinpin.iro.umontreal.ca (pinpin.iro.umontreal.ca [132.204.24.52]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id 4794B2CFA47 for ; Sat, 17 May 2008 09:54:57 -0400 (EDT) Original-Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by pinpin.iro.umontreal.ca (Postfix) with ESMTP id 10BED3B8B43 for ; Sat, 17 May 2008 09:54:51 -0400 (EDT) Original-Received: from localhost ([127.0.0.1]:60276 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JxMs7-0000W7-Ez for monnier@iro.umontreal.ca; Sat, 17 May 2008 09:54:51 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JxLaF-0006ce-3H for emacs-devel@gnu.org; Sat, 17 May 2008 08:32:19 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JxLaD-0006bh-9z for emacs-devel@gnu.org; Sat, 17 May 2008 08:32:18 -0400 Original-Received: from [199.232.76.173] (port=55398 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JxLaC-0006bT-W1 for emacs-devel@gnu.org; Sat, 17 May 2008 08:32:17 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]:35741) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JxLaC-0002MJ-M7 for emacs-devel@gnu.org; Sat, 17 May 2008 08:32:16 -0400 Original-Received: from mx10.gnu.org ([199.232.76.166]:36876) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1JxLZ5-0008Lq-Vi for emacs-pretest-bug@gnu.org; Sat, 17 May 2008 08:31:08 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1JxLa7-0002Ll-Pe for emacs-pretest-bug@gnu.org; Sat, 17 May 2008 08:32:15 -0400 Original-Received: from happy.markojung.net ([78.47.229.211]:53289 helo=isp001.markojung.net) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JxLa7-0002GL-A4 for emacs-pretest-bug@gnu.org; Sat, 17 May 2008 08:32:11 -0400 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by isp001.markojung.net (Postfix) with ESMTP id 93F4F2F4127 for ; Sat, 17 May 2008 14:31:40 +0200 (CEST) Original-Received: from isp001.markojung.net ([127.0.0.1]) by localhost (isp001.markojung.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fLWFNnIuTPxk for ; Sat, 17 May 2008 14:31:40 +0200 (CEST) Original-Received: from golem (dslb-088-065-072-062.pools.arcor-ip.net [88.65.72.62]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by isp001.markojung.net (Postfix) with ESMTPSA id 64EB12F411E for ; Sat, 17 May 2008 14:31:40 +0200 (CEST) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAFVBMVEUAAACtra19fX3y8vKA gID///9AQEBawxxrAAABeUlEQVR4nHXSwXKDIBAA0G3a8Vw05JxY9E4MObeK3h1Cz2qt//8J3UWj ppIdBxmfu4sC2CcB070+PQHDuAcyhQPzwLVFuSlfqQK7eOFirfQ2ly7JC8a3Kip1sx6QLOaRB0wo IUg8gFUa2D2BIFVb+OYGhC23cB4aUDbaQt4AgifjCACt9HwgQfrjWZWDwNPjEwHbtBu44kPC5D9Y FknMgFf8aZFawDDGIuoTkAYndYczzd5hjqAYwXzQ/QCraB2401HvHyQhKMb2tbw0M7whuBNoIs4M W/Xh056fQzwLPF/g14FkrcLN4nKp9WLByIMImSwyycLjDDsOF93pVFdC6yofHkEjxDhWumtWsMdH edc7SOf2/QiYQiByUU0gSldKD4LyBLUbK+kCaoI+diNlxgOGmIFWhVDpe5RgqEiPRR6Buwx8PxXE G3CGzeMVmAnctUB5h3Hsthljp34Ne/wjbu4+cIovBVbqfH4vFdOkoI2SzEWUZdMMQ9k/5csXnnRd prMAAAAASUVORK5CYII= User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-Mailman-Approved-At: Sat, 17 May 2008 09:54:31 -0400 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=-1.94, requis 5, BAYES_00 -2.60, RECEIVED_FROM_NOUNK 0.66, SPF_HELO_PASS -0.00) X-DIRO-MailScanner-From: emacs-devel-bounces+monnier=iro.umontreal.ca@gnu.org X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Resent-Date: Sat, 17 May 2008 10:11:44 -0400 X-Mailman-Approved-At: Sat, 17 May 2008 12:59:10 -0400 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:18035 Archived-At: --=-=-= Please write in English if possible, because the Emacs maintainers usually do not have translators to read other languages for them. Your bug report will be posted to the emacs-pretest-bug@gnu.org mailing list. Please describe exactly what actions triggered the bug and the precise symptoms of the bug: Hi, is the attached xml file (simple.xml) really invalid (as indicated by nxhtml) or is this a bug in nxhtml? describe-char on the first symbol gives (I replaced the BOM part with XXX): ,---- | character: XXX (65279, #o177377, #xfeff) | preferred charset: unicode (Unicode (ISO10646)) | code point: 0xFEFF | syntax: w which means: word | buffer code: #xEF #xBB #xBF | file code: #xEF #xBB #xBF (encoded by coding system utf-8-unix) | display: no font available | | Character code properties are not shown: customize what to show | | There is an overlay here: | From 1 to 2 | category rng-error | help-echo "Missing space after name" | priority 1 | | | There are text properties here: | auto-composed t | fontified t `---- describe-current-coding-system also looks correct: ,---- | Coding system for saving this buffer: | U -- utf-8-unix (alias: mule-utf-8-unix) `---- Regards, Patrick If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. If you would like to further debug the crash, please read the file /home/patrick/prg/stow/emacs-devel/share/emacs/23.0.60/etc/DEBUG for instructions. In GNU Emacs 23.0.60.4 (i686-pc-linux-gnu, GTK+ Version 2.12.9) of 2008-05-08 on golem Windowing system distributor `The X.Org Foundation', version 11.0.10400090 configured using `configure '--prefix=/home/patrick/prg/stow/emacs-devel'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: de_DE.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default-enable-multibyte-characters: t Major mode: nXML Minor modes in effect: delete-selection-mode: t show-paren-mode: t savehist-mode: t pc-selection-mode: t iswitchb-mode: t display-time-mode: t shell-dirtrack-mode: t tooltip-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Recent input: M-x C-g Recent messages: Loading time...done Loading iswitchb...done Loading pc-select...done Loading savehist...done Loading paren...done Emacs startup time: 3 seconds. For information about GNU Emacs and the GNU system, type C-h C-a. Using vacuous schema Quit Missing space after name --=-=-= Content-Type: application/xml; charset=utf-8 Content-Disposition: attachment; filename=simple.xml Content-Transfer-Encoding: base64 77u/PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPGRhdGE+CjwvZGF0YT4K --=-=-=--