Re: [xslt] ?Bug/Mystery - Xpath last() function - libxml2 2.6.16 r2

On Sun, Mar 20, 2005 at 01:59:54PM +0000, Mike Trotman wrote:
> Hi.
> I have a strange (=incorrect+weird) behaviour when using libxml2 via 
> xsltproc (and Perl XML:::LibXML/LibXSLT/AxKit)
> It looks like using the 'last()' positional function corrupts a nodeset 
> - or something more subtle
> - which also affect a subsequent Xpath match!!
> (and I don't think I'm doing anything stupid.)
> I haven't managed to find an FC2 version of the latest libxml2 yet - but 
> don't see this listed in any bug fixes.

  1/ use the latest version, 2.6.18 and libxslt-1.1.13 . To use them on
     FC2 grab the src.rpm from and use 
     rpm --rebuild libxml2-2.6.18-1.src.rpm and similar for libxslt.
  2/ if the problem persists provide full reproductible test case using
     xsltproc, as mail or bugzilla attachements of the stylesheet and
     the xml input showing the problem. Debugging partial stylesheets
     is not possible,



Daniel Veillard      | Red Hat Desktop team
veillard redhat com  | libxml GNOME XML XSLT toolkit | Rpmfind RPM search engine

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]