This is the mail archive of the docbook@lists.oasis-open.org mailing list for the DocBook project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

<subscript> not valid in <parameter>?


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)

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]