Bug 56443 - psgml chokes on entities containing '_'
Summary: psgml chokes on entities containing '_'
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: psgml
Version: 7.2
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Tim Waugh
QA Contact: Ben Levenson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-11-18 18:10 UTC by Martin Blom
Modified: 2007-04-18 16:38 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2001-11-18 18:10:44 UTC
Embargoed:


Attachments (Terms of Use)

Description Martin Blom 2001-11-18 18:10:38 UTC
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 18:41:23 UTC
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 21:05:12 UTC
My mistake. Sorry.



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