From unknown Sat Aug 16 18:31:36 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#21882 <21882@debbugs.gnu.org> To: bug#21882 <21882@debbugs.gnu.org> Subject: Status: 24.5; DocBook dbnotn.rnc notation.class is missing PDF Reply-To: bug#21882 <21882@debbugs.gnu.org> Date: Sun, 17 Aug 2025 01:31:36 +0000 retitle 21882 24.5; DocBook dbnotn.rnc notation.class is missing PDF reassign 21882 emacs submitter 21882 Daniel Barrett severity 21882 minor tag 21882 fixed thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 11 21:09:43 2015 Received: (at submit) by debbugs.gnu.org; 12 Nov 2015 02:09:43 +0000 Received: from localhost ([127.0.0.1]:33800 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZwhKG-0007Qy-Gu for submit@debbugs.gnu.org; Wed, 11 Nov 2015 21:09:43 -0500 Received: from eggs.gnu.org ([208.118.235.92]:52155) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZwgAQ-0005dl-GY for submit@debbugs.gnu.org; Wed, 11 Nov 2015 19:55:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZwgAJ-0006RE-PQ for submit@debbugs.gnu.org; Wed, 11 Nov 2015 19:55:10 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:33842) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZwgAJ-0006RA-MN for submit@debbugs.gnu.org; Wed, 11 Nov 2015 19:55:03 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33894) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZwgAG-0003gF-S5 for bug-gnu-emacs@gnu.org; Wed, 11 Nov 2015 19:55:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZwgAD-0006PZ-IM for bug-gnu-emacs@gnu.org; Wed, 11 Nov 2015 19:55:00 -0500 Received: from jet38.hasweb.com ([72.29.78.191]:40973) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZwgAD-0006Oq-Cg for bug-gnu-emacs@gnu.org; Wed, 11 Nov 2015 19:54:57 -0500 Received: from pool-108-26-192-178.bstnma.fios.verizon.net ([108.26.192.178]:45760 helo=snorkack.blazemonger.com) by jet38.hasweb.com with esmtpsa (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.85) (envelope-from ) id 1ZwgAA-0002Vi-G5 for bug-gnu-emacs@gnu.org; Wed, 11 Nov 2015 19:54:54 -0500 Received: from snorkack.blazemonger.com (localhost [127.0.0.1]) by snorkack.blazemonger.com (Postfix) with ESMTPS id DB0B6F6022F for ; Wed, 11 Nov 2015 19:54:53 -0500 (EST) From: Daniel Barrett To: bug-gnu-emacs@gnu.org Subject: 24.5; DocBook dbnotn.rnc notation.class is missing PDF Date: Wed, 11 Nov 2015 19:54:53 -0500 Message-ID: <877flo3ule.fsf@snorkack.blazemonger.com> MIME-Version: 1.0 Content-Type: text/plain X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - jet38.hasweb.com X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - blazemonger.com X-Get-Message-Sender-Via: jet38.hasweb.com: authenticated_id: dbarrett@blazemonger.com X-Source: X-Source-Args: X-Source-Dir: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Wed, 11 Nov 2015 21:09:23 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) The file /usr/share/emacs/24.5/etc/schema/dbnotn.rnc has a definition "notation.class" that contains a list of file types, such as "JPEG" and "PNG". Please add "PDF" to this list. I can confirm that O'Reilly Media, who I believe created the DocBook DTD, uses "PDF" for this purpose in the DocBook source code of its books. (I am an O'Reilly author.) Without "PDF", emacs nxml-mode reports that documents are invalid when they are not. Here is a diff: $ diff -c dbnotn.rnc.orig dbnotn.rnc *** dbnotn.rnc.orig 2015-11-11 19:53:07.960289145 -0500 --- dbnotn.rnc 2015-11-11 19:53:24.816521679 -0500 *************** *** 65,70 **** --- 65,71 ---- | "JPEG" | "IGES" | "PCX" + | "PDF" | "PIC" | "PNG" | "PS" Thank you very much. In GNU Emacs 24.5.1 (x86_64-pc-linux-gnu, GTK+ Version 3.16.6) of 2015-09-17 on lgw01-52, modified by Debian Windowing system distributor `The X.Org Foundation', version 11.0.11702000 System Description: Ubuntu 15.10 Configured using: `configure --build x86_64-linux-gnu --prefix=/usr --sharedstatedir=/var/lib --libexecdir=/usr/lib --localstatedir=/var/lib --infodir=/usr/share/info --mandir=/usr/share/man --with-pop=yes --enable-locallisppath=/etc/emacs24:/etc/emacs:/usr/local/share/emacs/24.5/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.5/site-lisp:/usr/share/emacs/site-lisp --build x86_64-linux-gnu --prefix=/usr --sharedstatedir=/var/lib --libexecdir=/usr/lib --localstatedir=/var/lib --infodir=/usr/share/info --mandir=/usr/share/man --with-pop=yes --enable-locallisppath=/etc/emacs24:/etc/emacs:/usr/local/share/emacs/24.5/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.5/site-lisp:/usr/share/emacs/site-lisp --with-x=yes --with-x-toolkit=gtk3 --with-toolkit-scroll-bars 'CFLAGS=-g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall' CPPFLAGS=-D_FORTIFY_SOURCE=2 'LDFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro'' Important settings: value of $LC_COLLATE: C value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: nXML Minor modes in effect: tooltip-mode: t electric-indent-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t abbrev-mode: t Recent messages: Loading /etc/emacs/site-start.d/50autoconf.el (source)...done Loading /etc/emacs/site-start.d/50dictionaries-common.el (source)... Loading debian-ispell... Loading /var/cache/dictionaries-common/emacsen-ispell-default.el (source)...done Loading debian-ispell...done Loading /var/cache/dictionaries-common/emacsen-ispell-dicts.el (source)...done Loading /etc/emacs/site-start.d/50dictionaries-common.el (source)...done Loading /etc/emacs/site-start.d/50php-elisp.el (source)...done For information about GNU Emacs and the GNU system, type C-h C-a. Using schema /usr/share/emacs/24.5/etc/schema/docbook.rnc Load-path shadows: /usr/share/emacs/24.5/site-lisp/debian-startup hides /usr/share/emacs/site-lisp/debian-startup Features: (shadow sort gnus-util mail-extr warnings emacsbug message format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util help-fns mail-prsvr mail-utils vc-git nxml-uchnm rng-xsd xsd-regexp rng-cmpct rng-nxml rng-valid rng-loc rng-uri rng-parse nxml-parse rng-match rng-dt rng-util rng-pttrn nxml-ns easymenu nxml-mode nxml-outln nxml-rap nxml-util nxml-glyph nxml-enc xmltok edmacro kmacro cl-loaddefs cl-lib time-date tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind gfilenotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) Memory information: ((conses 16 142216 7995) (symbols 48 20378 0) (miscs 40 61 133) (strings 32 22227 5053) (string-bytes 1 511005) (vectors 16 15809) (vector-slots 8 510996 5203) (floats 8 469 203) (intervals 56 1456 0) (buffers 960 20) (heap 1024 34629 2108)) -- From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 01 13:48:18 2019 Received: (at 21882) by debbugs.gnu.org; 1 Aug 2019 17:48:18 +0000 Received: from localhost ([127.0.0.1]:55134 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1htFBa-0001k5-50 for submit@debbugs.gnu.org; Thu, 01 Aug 2019 13:48:18 -0400 Received: from quimby.gnus.org ([80.91.231.51]:43402) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1htFBY-0001jt-Fn for 21882@debbugs.gnu.org; Thu, 01 Aug 2019 13:48:16 -0400 Received: from 77.18.62.220.tmi.telenormobil.no ([77.18.62.220] helo=sandy) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1htFBU-0002WK-53; Thu, 01 Aug 2019 19:48:14 +0200 From: Lars Ingebrigtsen To: Daniel Barrett Subject: Re: bug#21882: 24.5; DocBook dbnotn.rnc notation.class is missing PDF References: <877flo3ule.fsf@snorkack.blazemonger.com> Date: Thu, 01 Aug 2019 19:48:11 +0200 In-Reply-To: <877flo3ule.fsf@snorkack.blazemonger.com> (Daniel Barrett's message of "Wed, 11 Nov 2015 19:54:53 -0500") Message-ID: <87h870ixpg.fsf@mouse.gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Daniel Barrett writes: > The file /usr/share/emacs/24.5/etc/schema/dbnotn.rnc has a definition > "notation.class" that contains a list of file types, such as "JPEG" > and "PNG". Please add "PDF" to this list. I can confirm [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP 0.0 TVD_RCVD_IP Message was received from an IP address -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 21882 Cc: 21882@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Daniel Barrett writes: > The file /usr/share/emacs/24.5/etc/schema/dbnotn.rnc has a definition > "notation.class" that contains a list of file types, such as "JPEG" > and "PNG". Please add "PDF" to this list. I can confirm that O'Reilly > Media, who I believe created the DocBook DTD, uses "PDF" for this > purpose in the DocBook source code of its books. (I am an O'Reilly > author.) Without "PDF", emacs nxml-mode reports that documents are invalid > when they are not. > > Here is a diff: (I'm going through old bug reports that have unfortunately not gotten any responses.) Thanks; I've now applied your patch to Emacs 27. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 01 13:48:22 2019 Received: (at control) by debbugs.gnu.org; 1 Aug 2019 17:48:22 +0000 Received: from localhost ([127.0.0.1]:55137 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1htFBe-0001kN-D3 for submit@debbugs.gnu.org; Thu, 01 Aug 2019 13:48:22 -0400 Received: from quimby.gnus.org ([80.91.231.51]:43416) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1htFBd-0001kG-D7 for control@debbugs.gnu.org; Thu, 01 Aug 2019 13:48:21 -0400 Received: from 77.18.62.220.tmi.telenormobil.no ([77.18.62.220] helo=sandy) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1htFBa-0002WR-NS for control@debbugs.gnu.org; Thu, 01 Aug 2019 19:48:20 +0200 Date: Thu, 01 Aug 2019 19:48:18 +0200 Message-Id: <87ftmkixp9.fsf@mouse.gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #21882 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 21882 fixed close 21882 27.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP 0.0 TVD_RCVD_IP Message was received from an IP address -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 21882 fixed close 21882 27.1 quit From unknown Sat Aug 16 18:31:36 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 30 Aug 2019 11:24:08 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator