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]

Re: QandASet bug?


| Is there a bug in QandASet? The text description of "DocBook The
Definitive
| Guide" says that the DefaultLabel attribute accepts "label" as a value,
but
| the synopsis box gives only "none", "number" and "qanda" as valid values.
| The DocBook 3.1 implementation does not allow label as a value.

> Right, that's a documentation bug. Near the end of the
> discussions about QAndASet, the committee decided that the
> presence of the element was sufficient indication that it should
> be used. In addition, removing that value removed the
> possibility of specification errors (setting defaultlabel to
> 'label' and then forgetting to provide a label for each
> QandAEntry).

Thanks for the explanation. But it seems that label is not a valid attribute
for <question> or <answer> in DocBook 3.1? The DocBook guide says
label is a valid attribute for those elements, but it doesn't work. Do I
have to
customize the stylesheet to set the Q and A labels to something other than
the default?

[Ah, the other thing we did at the last minute was make <label> an
element, not an attribute. --norm]


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