Bug 54496 - XML-style empty tag problems
XML-style empty tag problems
Status: CLOSED NOTABUG
Product: Red Hat Raw Hide
Classification: Retired
Component: openjade (Show other bugs)
1.0
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Tim Waugh
Brock Organ
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2001-10-10 04:48 EDT by Tim Waugh
Modified: 2007-04-18 12:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2001-10-19 09:05:52 EDT
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 Tim Waugh 2001-10-10 04:48:03 EDT
Description of Problem:
Openjade has trouble with <empty/>-form tags.

Version-Release number of selected component (if applicable):
openjade-1.3-18

How Reproducible:
100%

Steps to Reproduce:
1. Run 'sgmlnorm -c /etc/sgml/catalog file.sgml' on this file.sgml:

<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook V3.1//EN"[]>
<article>
  <title>Demonstration of openjade bug</title>

  <section id="demo">
    <title>Bug demonstration</title>

    <para>A cross-reference to this section comes out as
     <quote><xref linkend="demo"/></quote>.</para>
  </section>
</article>


Actual Results:
<ARTICLE>
<TITLE>Demonstration of openjade bug</TITLE>
<SECTION ID="DEMO">
<TITLE>Bug demonstration</TITLE>
<PARA>A cross-reference to this section comes out as
     <QUOTE><XREF LINKEND="DEMO">&#62;</QUOTE>.</PARA>
</SECTION>
</ARTICLE>


Expected Results:
<ARTICLE>
<TITLE>Demonstration of openjade bug</TITLE>
<SECTION ID="DEMO">
<TITLE>Bug demonstration</TITLE>
<PARA>A cross-reference to this section comes out as
     <QUOTE><XREF LINKEND="DEMO"></QUOTE>.</PARA>
</SECTION>
</ARTICLE>


Additional Information:
I think that '/>' is an XML thing, but openjade ought to handle it in SGML for 
interoperability.
Comment 2 Tim Waugh 2001-10-20 10:03:26 EDT
Prevailing opinion seems to be that this is not a bug, and is in fact expected 
behaviour: <tab/> is not valid SGML.

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