Bug 15379 - nsgmls: Different behavior than documentation
Summary: nsgmls: Different behavior than documentation
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: jade   
(Show other bugs)
Version: 6.2
Hardware: i386 Linux
Target Milestone: ---
Assignee: Tim Waugh
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2000-08-04 12:40 UTC by Need Real Name
Modified: 2008-05-01 15:37 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2000-08-31 20:52:36 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description Need Real Name 2000-08-04 12:40:36 UTC
The program "nsgmls" ships with the jade package, but it is originally part
of "PS", I think. Anyway, it behaves differently than documented in the man
page. The default SGML declaration it uses in case the processed document
does not provide one is in face the docbook one. This might be seen as a
documentation error, but it took me quite a long time to find out using
strace... Thanks for your attention.

Comment 1 Need Real Name 2000-08-04 12:46:27 UTC
The docbook SGML declaration that is used is:

Steps to reproduce: Run nsgmls example.sgml, with a file example.sgml

<!DOCTYPE mydoc [
	<!ELEMENT mydoc - -	(blah)>
	<!ELEMENT blah  - O	(#PCDATA)    >
<blah>Dies ist der Text im blah

nsgmls says "nsgmls:example.sgml:7:7:E: end tag for "BLAH" omitted, but OMITTAG
NO was specified". According to the man page, the default sgml declaration has

Comment 2 Tim Waugh 2000-10-03 15:02:06 UTC
If you have:

SGMLDECL "dtds/decls/docbook.dcl"

in /usr/lib/sgml/CATALOG then this is correct behaviour, at least according to
the documentation I'm looking at.

If this is not the case, please reopen.

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