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] Please test 1.69.0 if you haven't already


On Wed, 2005-08-10 at 18:52 +0900, Michael Smith wrote:

> I just looked at the code. Here's what I found: When the
> apply-annotations template is called, it searches through the
> entire document instance, from the root, looking for Annotation
> elements. See line 27 of the html/annotations.xsl file -
> 
>   <xsl:template name="apply-annotations">
>     <!-- do any annotations apply to the context node? -->
>     <xsl:variable name="id" select="(@id|@xml:id)[1]"/>
> 
>     <xsl:variable name="aids">
>       <xsl:for-each select="//annotation">
> 
> That search would take up hardly any time at all if
> apply-annotations were being called only once. But it is actually
> being called for every single instance of an inline element.

Sounds like a problem waiting for keys?
particularly if it is called a lot.


regards DaveP



>   --Mike
> 



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