From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: mah@everybody.org (Mark A. Hershberger) Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: Re: 23.0.60; [nxml] BOM and utf-8 Date: Sat, 17 May 2008 16:38:49 -0400 Message-ID: <87d4nk8y3q.fsf@everybody.org> References: <87od75kt78.fsf@pdrechsler.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Trace: ger.gmane.org 1211056816 10554 80.91.229.12 (17 May 2008 20:40:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 17 May 2008 20:40:16 +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 22:40:53 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 1JxTCi-0008UA-LL for ged-emacs-devel@m.gmane.org; Sat, 17 May 2008 22:40:32 +0200 Original-Received: from localhost ([127.0.0.1]:49979 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JxTBy-0006DQ-TQ for ged-emacs-devel@m.gmane.org; Sat, 17 May 2008 16:39:46 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JxTBu-0006D7-MX for emacs-devel@gnu.org; Sat, 17 May 2008 16:39:42 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JxTBt-0006Cu-5m for emacs-devel@gnu.org; Sat, 17 May 2008 16:39:42 -0400 Original-Received: from [199.232.76.173] (port=48129 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JxTBs-0006Cr-W6 for emacs-devel@gnu.org; Sat, 17 May 2008 16:39:41 -0400 Original-Received: from main.gmane.org ([80.91.229.2]:40401 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 1JxTBs-0002Ji-H3 for emacs-devel@gnu.org; Sat, 17 May 2008 16:39:40 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1JxTBq-0004Av-IE for emacs-devel@gnu.org; Sat, 17 May 2008 20:39:38 +0000 Original-Received: from 24.152.221.116.res-cmts.eph.ptd.net ([24.152.221.116]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 17 May 2008 20:39:38 +0000 Original-Received: from mah by 24.152.221.116.res-cmts.eph.ptd.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 17 May 2008 20:39:38 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Followup-To: gmane.emacs.devel Original-Lines: 44 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 24.152.221.116.res-cmts.eph.ptd.net X-URL: http://mah.everybody.org/weblog/ User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) Cancel-Lock: sha1:y248YTRo5CFhwLZN+pe1mAb8lUU= 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:97333 gmane.emacs.pretest.bugs:22361 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Patrick Drechsler writes: > is the attached xml file (simple.xml) really invalid (as indicated by > nxhtml) or is this a bug in nxhtml? The file simple.xml is really invalid. http://www.w3.org/TR/2006/REC-xml-20060816/#sec-prolog-dtd The XML spec gives the following syntax description for the prolog of an XML file (I've only copied the relevant parts): [3] S ::=3D (#x20 | #x9 | #xD | #xA)+ [22] prolog ::=3D XMLDecl? Misc* (doctypedecl Misc*)? [23] XMLDecl ::=3D '' Note that there is no S before the literal =E2=80=9C