From unknown Tue Jun 17 01:50:03 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#7096 <7096@debbugs.gnu.org> To: bug#7096 <7096@debbugs.gnu.org> Subject: Status: 23.1; nxml-mode attribute validation with rnc Reply-To: bug#7096 <7096@debbugs.gnu.org> Date: Tue, 17 Jun 2025 08:50:03 +0000 retitle 7096 23.1; nxml-mode attribute validation with rnc reassign 7096 emacs submitter 7096 Stefan Majewski severity 7096 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 24 11:10:28 2010 Received: (at submit) by debbugs.gnu.org; 24 Sep 2010 15:10:28 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Oz9us-0006FQ-T2 for submit@debbugs.gnu.org; Fri, 24 Sep 2010 11:10:28 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Oz9sS-0006Dt-C2 for submit@debbugs.gnu.org; Fri, 24 Sep 2010 11:07:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Oz9v2-0005a3-1i for submit@debbugs.gnu.org; Fri, 24 Sep 2010 11:10:37 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, T_DKIM_INVALID,T_RP_MATCHES_RCVD autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([199.232.76.165]:33186) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Oz9v1-0005Zw-Ud for submit@debbugs.gnu.org; Fri, 24 Sep 2010 11:10:36 -0400 Received: from [140.186.70.92] (port=52745 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Oz9v0-0001qR-FQ for bug-gnu-emacs@gnu.org; Fri, 24 Sep 2010 11:10:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Oz9uz-0005ZE-5d for bug-gnu-emacs@gnu.org; Fri, 24 Sep 2010 11:10:34 -0400 Received: from grace.univie.ac.at ([131.130.3.115]:46597) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Oz9uy-0005YT-MI for bug-gnu-emacs@gnu.org; Fri, 24 Sep 2010 11:10:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=univie.ac.at; s=rev1; h=Content-Transfer-Encoding:Content-Type:Subject:CC:To:MIME-Version:From:Date:Message-ID; bh=L8t9hJKU+aswT44gg5OVGpva8uqAL//ORNuiAHCJ39A=; b=LOaigtImGs1azTheYkt1SxkmR3hXvqyh6/xuicvjkYvrvdwlzFvXnoMQGlLCAuU8EHqDpCSx57U+gqobLnhpn9Yn+QH1ePOFd4Fdce1WTN3o7nc4u95wOQVYcNRVs0mrKl8cCHeV+X+griIViLNinVhewFie99yvAPaTGi+slNQ=; Received: from joan.univie.ac.at ([131.130.3.110] helo=joan.univie.ac.at) by grace.univie.ac.at with esmtp (Exim 4.71) (envelope-from ) id 1Oz9ut-0004lO-TE; Fri, 24 Sep 2010 17:10:27 +0200 Received: from d91-128-97-112.cust.tele2.at ([91.128.97.112] helo=[192.168.0.7]) by joan.univie.ac.at with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.71) (envelope-from ) id 1Oz9ut-000360-R3; Fri, 24 Sep 2010 17:10:27 +0200 Message-ID: <4C9CBF63.4050604@univie.ac.at> Date: Fri, 24 Sep 2010 17:10:27 +0200 From: Stefan Majewski User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.12) Gecko/20100915 Lightning/1.0b1 Thunderbird/3.0.8 MIME-Version: 1.0 To: bug-gnu-emacs@gnu.org Subject: 23.1; nxml-mode attribute validation with rnc X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Univie-Virus-Scan: scanned by ClamAV on joan.univie.ac.at 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, seldom 2.4 (older, 4) X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Fri, 24 Sep 2010 11:10:24 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.3 (-----) Dear Emacs devs, @CC James Clark as initial developer of nxml-mode, first of all thanks for emacs and especially thanks for nxml-mode, as I couldn't do or wouldn't like to do without it. I frequently encounter the following bug with nxml-mode: Whenever I try to use specific attribute definitions that are well covered within the specs of RelaxNG Compact syntax, Emacs does not validate some RNC schemas correctly. Jing (after a convertion with trang) and other relaxng tools, nevertheless do. I tried to debug it myself, but can't see where it goes wrong, as everything indeed seems to be correctly in place. The bug certainly relates to the way attribute restrictions can be based on Unicode Character Classes like \p{P} for punctuation or \p{L} for letter. For some strange reason the definitions for Letter seem to work while Punctuation is not handled correctly. Consider this minimal example (RNC and corresponding XML): ## BEGIN RNC test = element test { empty, attribute att { xsd:token { pattern = "(\p{L}|\p{P})+" } } } start = test ##END RNC Strange enough, it validates when the underscore ("_" (unicode 95, included in \p{Pc} and thus \p{P}) is removed from the XML. But it is not just the underscore, other punctuation characters fail as well. I could not find an obvious error in nxml's definition of the character classes in xsd-regexp.el As this behaviour is against the specs, I would consider it a bug in nxml-mode. If there is anything more I could help to track this bug down, please let me know. cheers, Stefan -- | Stefan Majewski | Department of English, University of Vienna | | VOICE Corpus | Spitalgasse 2-4, Universitätscampus AAKH, Hof 8 | | | A-1090 Vienna | | Research Ass.(IT)| Phone: +43 1 4277 424 46 | From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 14 11:49:38 2010 Received: (at control) by debbugs.gnu.org; 14 Oct 2010 15:49:38 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P6Q3l-0001JE-Sh for submit@debbugs.gnu.org; Thu, 14 Oct 2010 11:49:38 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P6Q3l-0001J9-3x for control@debbugs.gnu.org; Thu, 14 Oct 2010 11:49:37 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1P6Q7B-0007CL-U0; Thu, 14 Oct 2010 11:53:09 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <19639.10085.897301.967345@fencepost.gnu.org> Date: Thu, 14 Oct 2010 11:53:09 -0400 From: Glenn Morris To: control Subject: control X-Attribution: GM X-Mailer: VM (www.wonderworks.com/vm), GNU Emacs (www.gnu.org/software/emacs) X-Hue: magenta X-Ran: t}mDt85vh<8:7n4^#1O~(_H2kQ{oE~0b<#H/:lErL52\d0:(eA,^?)JtA?0*Wi,Hz~:M+= X-Debbugs-No-Ack: yes X-Spam-Score: -5.2 (-----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.2 (-----) unmerge 7095 unmerge 7162 unarchive 6499 forcemerge 6499 7096 7162 7212 From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 14 11:52:10 2010 Received: (at control) by debbugs.gnu.org; 14 Oct 2010 15:52:10 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P6Q6E-0001L6-G7 for submit@debbugs.gnu.org; Thu, 14 Oct 2010 11:52:10 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P6Q6D-0001L1-14 for control@debbugs.gnu.org; Thu, 14 Oct 2010 11:52:09 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1P6Q9e-0007KA-1V; Thu, 14 Oct 2010 11:55:42 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <19639.10237.979153.788278@fencepost.gnu.org> Date: Thu, 14 Oct 2010 11:55:41 -0400 From: Glenn Morris To: control Subject: fix typo X-Attribution: GM X-Mailer: VM (www.wonderworks.com/vm), GNU Emacs (www.gnu.org/software/emacs) X-Hue: magenta X-Ran: ;FOVe+ZPak_1(qy*3^L+;evyRRR,cJSr&Ifciv`:XEOeNpdg8;e!I1i>8M4yCdQp^f,t__ X-Debbugs-No-Ack: yes X-Spam-Score: -6.2 (------) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.2 (------) unmerge 7096 reopen 7096 unmerge 7095 forcemerge 6499 7095 From unknown Tue Jun 17 01:50:03 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: Did not alter fixed versions and reopened. Date: Thu, 14 Oct 2010 15:53:02 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # Did not alter fixed versions and reopened. thanks # This fakemail brought to you by your local debbugs # administrator From debbugs-submit-bounces@debbugs.gnu.org Tue Jan 25 23:21:12 2011 Received: (at control) by debbugs.gnu.org; 26 Jan 2011 04:21:12 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Phwsa-0008HU-78 for submit@debbugs.gnu.org; Tue, 25 Jan 2011 23:21:12 -0500 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PhwsZ-0008HG-H1; Tue, 25 Jan 2011 23:21:11 -0500 Received: from localhost ([127.0.0.1]:39896) by fencepost.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Phx0L-0008Pw-Tq; Tue, 25 Jan 2011 23:29:13 -0500 To: 7906@debbugs.gnu.org Subject: Re: bug#7906: keep the buffer still in rmail mode References: <1b78a791dbf9761258aa938c4d34f092.squirrel@webmail.maik.li> <607hdsq0vu.fsf@fencepost.gnu.org> <4a6f89ed4967caa4e6d39a389788b293.squirrel@webmail.maik.li> From: Glenn Morris X-Spook: Dateline bce enforcers UFO Fedayeen weapons of mass X-Ran: ?T\W1|#Tdw})GMiOei?2C:AeM|L{}lbp@k|/.f8T*1XJV?TbkSM),*<)0{F?_7n)IC?Q (hf@hongfeng.ch's message of "Wed\, 26 Jan 2011 03\:21\:39 +0100") Message-ID: <1rd3nks2xy.fsf@fencepost.gnu.org> User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.2 (------) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.2 (------) retitle 7096 minor display issue when getting new mail in rmail? severity 7096 minor stop [replying to off-list message] hf@hongfeng.ch wrote: > My concern or wish are: when I enter the rmail mode, and type `g', > the main buffer should NOT change anything if no email comes, only > in the echo area, it prompts a string "No new email." If some emails > are fetched from the email box, then the main buffer is refreshed to > display the first new email, and in the echo area it prompts how many > emails have received, for example "2 emails received". > > The current situation is, whenever I typed `g', the entire buffer swing > within very short time (maybe less than 0.1 seconds), but visually it is > evidently for me, if such swing won't happen as I described, then it > would be very good! It sounds like rmail-get-new-mail might be swapping buffers unnecessarily, or in an unnecessarily visible fashion. I still don't see it. Maybe the effect would be more visible with a slow source of new mail, eg a remote pop server, if someone wants to look into it. From debbugs-submit-bounces@debbugs.gnu.org Tue Jan 25 23:24:36 2011 Received: (at control) by debbugs.gnu.org; 26 Jan 2011 04:24:36 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Phwvs-0008MV-Jx for submit@debbugs.gnu.org; Tue, 25 Jan 2011 23:24:36 -0500 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Phwvq-0008MI-Fu for control@debbugs.gnu.org; Tue, 25 Jan 2011 23:24:35 -0500 Received: from localhost ([127.0.0.1]:41953) by fencepost.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Phx3c-00005S-UE; Tue, 25 Jan 2011 23:32:36 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <19775.41956.487842.413207@fencepost.gnu.org> Date: Tue, 25 Jan 2011 23:32:36 -0500 From: Glenn Morris To: control Subject: emacs: damn typos X-Attribution: GM X-Mailer: VM (www.wonderworks.com/vm), GNU Emacs (www.gnu.org/software/emacs) X-Hue: green X-Ran: bG_hgqjx$^\XpI:DR&Y1oAu\8`Vz,>(COl8K!b'o[3iYR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.3 (------) retitle 7906 minor display issue when getting new mail in rmail? severity 7906 minor retitle 7096 23.1; nxml-mode attribute validation with rnc severity 7096 normal stop sigh