1. xemacs
  2. psgml

Commits

yoshiki  committed 8d9aefa

(sgml-setup-doctype): Don't try to find the canonical form of
a nil public identifier.
Jerry's patch "psgml: no public identifier",
<ps66tw5zyw.fsf@diannao.ittc.ukans.edu>

  • Participants
  • Parent commits 95bd106
  • Branches default

Comments (0)

Files changed (2)

File ChangeLog

View file
+2000-04-04  Jerry James  <james@eecs.ukans.edu>
+
+	* psgml-parse.el (sgml-setup-doctype): Don't try to find the
+	canonical form of a nil public identifier.
+
 2000-04-02  Andreas Jaeger  <aj@suse.de>
 
 	* psgml-parse.el (sgml-compile-all-dtds): Rewritten.  Patch  by

File psgml-parse.el

View file
     (cond (external
 	   ;; James addition - set the sgml-declaration
 	   (let ((decl
-		  (sgml-catalog-lookup sgml-catalog-files nil 'dtddecl
-				       (sgml-canonize-pubid (car external)))))
+		  (and (car external)
+		       (sgml-catalog-lookup sgml-catalog-files nil 'dtddecl
+					    (sgml-canonize-pubid (car external))))))
 	     (if decl (setq sgml-declaration decl)))
 	   (sgml-push-to-entity (sgml-make-entity docname 'dtd external))
 	   (sgml-check-dtd-subset)