Red Hat Bugzilla – Bug 56443
psgml chokes on entities containing '_'
Last modified: 2007-04-18 12:38:20 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.2.1) Gecko/20010901
Description of problem:
When using entities with a name that contains the '_' character, psgml
fails to parse the DTD.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Load the following document in emacs and press tab to invoke psgml.
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
<!ENTITY fig.power_rec.eps SYSTEM 'figurer/power_rec.eps' NDATA EPS>
Actual Results: Nothing.
Expected Results: psgml should load and parse the DTD.
emacs-20.7-41, psgml-1.2.1-13, docbook-dtd41-sgml-1.0-10
I don't think that '_' is a valid name character in SGML. It seems to work
for me in XML though (M-x xml-mode).
My mistake. Sorry.