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: RE: [docbook-apps] Re: [docbook] valid XHTML

> -----Original Message-----
> From: Tomasz Przechlewski
>     <div class="article" xml:lang="pl" id="id2656957">
>       <div class="titlepage">
>         <div>
>           <div>
>             <h2 class="title"><a id="id2656957"/>DocBook, praktyczne
>                   wykorzystanie standardu XML</h2>
>           </div>
>           <div>
> and the same is for bibliography:
>  <div class="bibliography" id="id2666002">
>         <div class="titlepage">
>           <div>
>             <div>
>               <h2 class="title"><a id="id2666002"/>Bibliografia</h2>
>             </div>
> I have transformed the document with saxon 6.5 in the meantime.
> There are no duplicate ids, which may indicate bug in xsltproc?.

I can confirm that duplicate IDs are emitted when generate.id.attributes=1
(using the stock 1.72.0 stylesheets). I don't think it is due to an XSLT
processor bug. Both Saxon and xsltproc generate duplicate IDs.

The first id attribute for an article is generated by the template with
match="article" in component.xsl (by calling the "object.id" template).
The second id attribute is generated by the template with
name="component.title" in component.xsl (by calling the "anchor" template in

> saxon inserts lot of silly namespaces declarations, like:
> <a xmlns:.0="" .0:href="#Ray2001" .0:title="Nauka języka

I cannot reproduce this.


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