I don't know whether this is the right approach, but when I visit on of
the psgml dtds, like html-4.01s.dtd, and invoke sgml-save-dtd, I get the
following:
Signaling: (error "ENTITY declaration is only valid in doctype")
signal(error ("ENTITY declaration is only valid in doctype"))
cerror("%s declaration is only valid in doctype" "ENTITY")
apply(cerror ("%s declaration is only valid in doctype" "ENTITY"))
error("%s declaration is only valid in doctype" "ENTITY")
apply(error "%s declaration is only valid in doctype" "ENTITY")
sgml-error("%s declaration is only valid in doctype" "ENTITY")
sgml-parse-markup-declaration(prolog)
sgml-parse-prolog()
sgml-load-doctype()
sgml-need-dtd()
#<compiled-function (file) "...(57)" [expand-file-name file
buffer-file-name error "Would clobber current file" sgml-need-dtd
sgml-push-to-entity "#SAVE" nil "" sgml-write-dtd sgml-dtd-info
sgml-pop-entity default-directory file-name-directory
file-name-nondirectory sgml-default-dtd-file sgml-loaded-dtd] 6
("/usr/local/lib/xemacs/xemacs-packages/lisp/psgml/psgml-dtd.elc" .
21800) (let* (... ... ...) (list
...))>("/usr/local/lib/xemacs/xemacs-packages/etc/psgml/cdtd/html-4.01s.ced")
call-interactively(sgml-save-dtd)
command-execute(sgml-save-dtd t)
execute-extended-command(nil)
call-interactively(execute-extended-command)
I presume that the dtds are valid. Is there anything else I should be
doing?
--
__ /__ Peter B. West pbwest(a)netscape.net
/
http://www.powerup.com.au/~pbwest
/ "Lord, to whom shall we go?"