Re: [xsl] Confused with templates and XPath

Subject: Re: [xsl] Confused with templates and XPath
From: Daniel Veillard <daniel@xxxxxxxxxxxx>
Date: Thu, 8 Jan 2004 14:53:15 +0100
On Thu, Jan 08, 2004 at 01:27:35PM +0000, David Carlisle wrote:
> 
>   added pattern : '//para' priority 0.000000
>   added pattern : 'chapter/para' priority 0.500000
> 
> That explains why it does not change the output when you change the
> order, as it has taken the priorities as different, but...
> 
> 
>    hummm... Then this is a bug ?
> 
> 
> yes it is a bug, the default priority for "//para" is wrong (probably
> because it has prematurely optimised it to "para")

  hum ... right !
  Can you bugzilla this please on bugzilla.gnome.org ? 
    http://xmlsoft.org/XSLT/bugs.html

-- 
Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
daniel@xxxxxxxxxxxx  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | 

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread