GNU bug report logs - #4067
nxml-mode missed invalid element in document

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Neal Lester <neal@HIDDEN>; dated Thu, 6 Aug 2009 19:20:04 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at submit@HIDDEN:


Received: (at submit) by emacsbugs.donarmstrong.com; 6 Aug 2009 19:10:44 +0000
From neal@HIDDEN Thu Aug  6 12:10:44 2009
X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02
	(2008-06-10) on rzlab.ucr.edu
X-Spam-Level: 
X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available.
	hammytokens:Tokens not available.
X-Spam-Status: No, score=0.0 required=4.0 tests=none autolearn=ham
	version=3.2.5-bugs.debian.org_2005_01_02
Received: from lists.gnu.org (lists.gnu.org [199.232.76.165])
	by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n76JAhss020033
	for <submit@HIDDEN>; Thu, 6 Aug 2009 12:10:44 -0700
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1MZ8MM-0008B0-ST
	for bug-gnu-emacs@HIDDEN; Thu, 06 Aug 2009 15:10:42 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1MZ8MJ-00088x-Qd
	for bug-gnu-emacs@HIDDEN; Thu, 06 Aug 2009 15:10:42 -0400
Received: from [199.232.76.173] (port=36957 helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43)
	id 1MZ8MJ-00088k-Ki
	for bug-gnu-emacs@HIDDEN; Thu, 06 Aug 2009 15:10:39 -0400
Received: from [173.11.73.113] (port=58231 helo=mail.mysafetyprogram.com)
	by monty-python.gnu.org with esmtp (Exim 4.60)
	(envelope-from <neal@HIDDEN>)
	id 1MZ8MJ-0006FT-5I
	for bug-gnu-emacs@HIDDEN; Thu, 06 Aug 2009 15:10:39 -0400
Received: from magical (magical [192.168.1.35])
	by mail.mysafetyprogram.com (Postfix) with ESMTP id 94B025FCA2F
	for <bug-gnu-emacs@HIDDEN>; Thu,  6 Aug 2009 11:44:39 -0700 (PDT)
Subject: nxml-mode missed invalid element in document
From: Neal Lester <neal@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Content-Type: text/plain
Date: Thu, 06 Aug 2009 11:44:39 -0700
Message-Id: <1249584279.9834.5.camel@magical>
Mime-Version: 1.0
X-Mailer: Evolution 2.0.2 (2.0.2-41.el4_7.2) 
Content-Transfer-Encoding: 7bit
X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4)
X-Greylist: delayed 1557 seconds by postgrey-1.27 at monty-python; Thu, 06 Aug 2009 15:10:37 EDT

In my rnc schema file, I have an element "paragraph" defined as:

paragraph = element import:paragraph { palette?, (text | (english,
relevance?)) }

palette = attribute palette { text }

english = element import:english { text }

relevance = element import:relevance { always | (if_exposure |
not_exposure | if_exposure_code | code_equal_or_less_than |
code_equal_or_greater_than | in_state | employees_in_state |
max_employees_in_state | if_exposure_universe | not_exposure_universe |
or | and | eiffel | is_required | not_is_required | not_in_state )+ }


In my document I had empty "paragraph" elements but nxml-mode did not
identify the document as invalid.

Neal Lester
Cell: 408/348-1939





Acknowledgement sent to Neal Lester <neal@HIDDEN>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs@HIDDEN>. Full text available.
Report forwarded to bug-submit-list@HIDDEN, Emacs Bugs <bug-gnu-emacs@HIDDEN>:
bug#4067; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
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.