Bug 15379
| Summary: | nsgmls: Different behavior than documentation | ||
|---|---|---|---|
| Product: | [Retired] Red Hat Linux | Reporter: | Need Real Name <moritz> |
| Component: | jade | Assignee: | Tim Waugh <twaugh> |
| Status: | CLOSED NOTABUG | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 6.2 | ||
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | i386 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2000-08-31 20:52:36 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Need Real Name
2000-08-04 12:40:36 UTC
The docbook SGML declaration that is used is: /usr/lib/sgml/dtds/decls/docbook.dcl Steps to reproduce: Run nsgmls example.sgml, with a file example.sgml containing: <!DOCTYPE mydoc [ <!ELEMENT mydoc - - (blah)> <!ELEMENT blah - O (#PCDATA) > ]> <mydoc> <blah>Dies ist der Text im blah </mydoc> 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 OMITTAG YES. 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. |