OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Duplicate IDs being output for HTML tables


Hi

I have noticed that if you set an ID on a table element and the table is an HTML model table, then the XSL output creates duplicate IDs, one for the anchor before the table and one for the table itself. This makes the XHTML output invalid. I am using DocBook XSL 1.76.1 and DocBook 4.5.

So for table:

<table id="table-test">
<caption>OAG Messages</caption>
...

The output contains:

<div class="table">
<a id="table-test"/>
<p class="title"><strong>Table 5 OAG Messages</strong></p>
<div class="table-contents">
<table id="table-test">
...

Same thing happens with informaltable.

Looks like there is a bug somewhere, possibly in the copying of the ID attribute in mode="htmlTableAtt" for all HTML table elements?

Thanks

--
~~~~~~~~~~~~~~~~
Andy Hatton
~~~~~~~~~~~~~~~~



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]