xsl-list
[Top] [All Lists]

Re: bug in LibXSLT???

2003-03-06 02:09:51
On Wed, Mar 05, 2003 at 10:46:27PM -0500, S Woodside wrote:
Hi there, I think I've uncovered a bug in LibXSLT. I have the following  
versions installed of LibXSLT and sablotron.

  First if you have an identified bug for libsxlt this is not the
place to report it see http://xmlsoft.org/XSLT/bugs.html for the
informations.

In many places I print out the RNG path of the context node. That's the  
path made up of the @name attributes of the ancestors of the context  
node, in reverse document order. I have a simple template to do it  
named "RNGPathToSelf". The problem is that in certain places I get the  
wrong order ... it's not reverse or forward, it's half and half. See  
for yourself ... :-\

  Well can you provide a concise example ? If this is an order problem
on one of the axis or something similar it's hard to tell from the full
example. I will look at it but provide first a simpler case if possible
or at least a preanalysis of the problem. Well maybe someone from the
list can help actually narrow down the problem.

Here's the input, the XSLT, and the output from LibXSLT that's  
incorrect marked with [[[BUG HERE]]], then the output from Sablotron  
with the output marked [[[CORRECT HERE]]] . Apologies for the length of  
the email, but the FAQ recommends providing full examples. I hope  
someone will still help!

Daniel

-- 
Daniel Veillard      | Red Hat Network https://rhn.redhat.com/
veillard(_at_)redhat(_dot_)com  | libxml Gnome XML XSLT toolkit  
http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/

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



<Prev in Thread] Current Thread [Next in Thread>