From: SourceForge.net <no...@so...> - 2005-05-10 09:11:03
|
Bugs item #1196670, was opened at 2005-05-07 01:01 Message generated for change (Comment added) made by xmldoc You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=373747&aid=1196670&group_id=21935 Category: DocBook XSL Group: HTML >Status: Closed Resolution: Fixed Priority: 5 Submitted By: Petr Pajas (pajas) Assigned to: Michael Smith (xmldoc) Summary: index/indexentry produces dt without a dl Initial Comment: If an index element contains indexentries without a indexdiv (which is allowed by DocBook XML), then resulting dd/dt HTML/XHTML elements have no dl parent which makes the output *HTML invalid. ---------------------------------------------------------------------- >Comment By: Michael Smith (xmldoc) Date: 2005-05-10 18:11 Message: Logged In: YES user_id=118135 Petr, thanks for the bug report and follow-up. ---------------------------------------------------------------------- Comment By: Petr Pajas (pajas) Date: 2005-05-10 17:19 Message: Logged In: YES user_id=430096 Works like a charm. I guess this is resolved. Thanks, -- Petr ---------------------------------------------------------------------- Comment By: Michael Smith (xmldoc) Date: 2005-05-10 10:24 Message: Logged In: YES user_id=118135 Hi again Petr, Sorry, the snapshot build was temporarily broken and the snapshot hadn't actually got updated after I checked in the fix. I've now got it working again. When you have time, please check with the latest - http://docbook.sourceforge.net/snapshots/ Regards, --Mike ---------------------------------------------------------------------- Comment By: Petr Pajas (pajas) Date: 2005-05-10 03:58 Message: Logged In: YES user_id=430096 I just downloaded and tried the snapshot, but the problem remains. I'm trying with the following document: <?xml version="1.0"?> <article> <title>foo</title> <index> <title>Index</title> <indexentry><primaryie>a</primaryie></indexentry> </index> </article> I get: <html> .... <div class="index"><div class="titlepage"> <div><div><h2 class="title"> <a name="id2455002"></a> Index</h2></div></div></div> <dt>a</dt></div></div></body> </html> (<dt> is invalid content for <div>). This is not a serious problem. Cheers, Petr ---------------------------------------------------------------------- Comment By: Michael Smith (xmldoc) Date: 2005-05-09 14:50 Message: Logged In: YES user_id=118135 A fix for this issue has been added to the current codebase. Please test the fix with the latest snapshot from: http://docbook.sourceforge.net/snapshots/ ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=373747&aid=1196670&group_id=21935 |