Bug 56443 - psgml chokes on entities containing '_'
psgml chokes on entities containing '_'
Status: CLOSED NOTABUG
Product: Red Hat Linux
Classification: Retired
Component: psgml (Show other bugs)
7.2
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Tim Waugh
Ben Levenson
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2001-11-18 13:10 EST by Martin Blom
Modified: 2007-04-18 12:38 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2001-11-18 13:10:44 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Martin Blom 2001-11-18 13:10:38 EST
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):


How reproducible:
Always

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>
]>

<book>
  
</book>


Actual Results:  Nothing.

Expected Results:  psgml should load and parse the DTD.


Additional info:

emacs-20.7-41, psgml-1.2.1-13, docbook-dtd41-sgml-1.0-10
Comment 1 Tim Waugh 2001-11-18 13:41:23 EST
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).

Comment 2 Martin Blom 2001-11-18 16:05:12 EST
My mistake. Sorry.

Note You need to log in before you can comment on or make changes to this bug.