From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Patrick Drechsler Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: Re: 23.0.60; [nxml] BOM and utf-8 Date: Sat, 17 May 2008 18:57:30 +0200 Organization: none Message-ID: <871w40uav9.fsf@pdrechsler.de> References: <87od75kt78.fsf@pdrechsler.de> <482EE824.2020307@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1211043508 30676 80.91.229.12 (17 May 2008 16:58:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 17 May 2008 16:58:28 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat May 17 18:59:06 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JxPkQ-0006YT-0b for ged-emacs-devel@m.gmane.org; Sat, 17 May 2008 18:59:06 +0200 Original-Received: from localhost ([127.0.0.1]:46009 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JxPjg-0006ju-At for ged-emacs-devel@m.gmane.org; Sat, 17 May 2008 12:58:20 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JxPjb-0006j6-UJ for emacs-devel@gnu.org; Sat, 17 May 2008 12:58:16 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JxPjZ-0006iF-P7 for emacs-devel@gnu.org; Sat, 17 May 2008 12:58:15 -0400 Original-Received: from [199.232.76.173] (port=40138 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JxPjZ-0006iB-LD for emacs-devel@gnu.org; Sat, 17 May 2008 12:58:13 -0400 Original-Received: from main.gmane.org ([80.91.229.2]:36319 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JxPjZ-0006im-3F for emacs-devel@gnu.org; Sat, 17 May 2008 12:58:13 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1JxPjS-0002EQ-6k for emacs-devel@gnu.org; Sat, 17 May 2008 16:58:06 +0000 Original-Received: from dslb-088-065-072-062.pools.arcor-ip.net ([88.65.72.62]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 17 May 2008 16:58:06 +0000 Original-Received: from patrick by dslb-088-065-072-062.pools.arcor-ip.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 17 May 2008 16:58:06 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Followup-To: gmane.emacs.pretest.bugs Original-Lines: 122 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: dslb-088-065-072-062.pools.arcor-ip.net 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) Cancel-Lock: sha1:W/oyr7328A07p8vgEc7/VQEf+8g= X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:97328 gmane.emacs.pretest.bugs:22360 Archived-At: "Lennart Borgman (gmail)" writes: > Patrick Drechsler wrote: >> >> is the attached xml file (simple.xml) really invalid (as indicated by >> nxhtml) or is this a bug in nxhtml? > > Patrick, don't you open this opened in nxml-mode, not nxhtml-mode? It does not make a difference if I use nxhtml or nxml mode. To reproduce: 1. emacs -Q simple.xml 2. M-x nxml-mode -> nxml-mode displays "(nXML Invalid)" in the mode line >> 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 > ug-report> >> >> 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 >> > > > -- I'm not asleep. I'm just looking at my eyelids!