This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
<subscript> not valid in <parameter>?
- To: "docbook at lists dot oasis-open dot org" <docbook at lists dot oasis-open dot org>
- Subject: DOCBOOK: <subscript> not valid in <parameter>?
- From: Bob McIlvride <robert at cogent dot ca>
- Date: Wed, 06 Dec 2000 11:36:06 -0500
- Organization: Cogent Real-Time Systems, Inc.
Hi,
After moving from DocBook version 3.1 to 4.1.2 and updating our DSSSL
from 1.54 to 1.59, we encountered this unexpected behavior during
validation:
/usr/bin/nsgmls:../../i/gamma/re_with.sgml:19:32:E: document type does
not allow element "SUBSCRIPT" here; assuming missing "REPLACEABLE"
start-tag
/usr/bin/nsgmls:../../i/gamma/re_with.sgml:19:57:E: end tag for
"REPLACEABLE" omitted, but OMITTAG NO was specified
/usr/bin/nsgmls:../../i/gamma/re_with.sgml:19:22: start tag was here
Here is the relevant code in i/gamma/re_with.sgml:
<synopsis>
<literal>
...
with <parameter>symbol<subscript>1</subscript></parameter> in|on
...
</literal>
</synopsis>
Surrounding the <subscript> tag with <replaceable> like this:
with <parameter>symbol
<replaceable><subscript>1</subscript></replaceable>
</parameter> in|on
validates, but I don't think that's what the "Doc" had in mind.
Any thoughts?
Bob
----------------
Robert McIlvride (robert@cogent.ca), Cogent Real-Time Systems
(www.cogent.ca)