Re: [xslt] saxon:line-number()



On Sat, Sep 27, 2003 at 02:14:47PM -0500, Brett Kail wrote:
> Hello,
> 
> >   Okay a kick look at the code didn't reveal any obvious flaw,
> >so I added it and commited. Could you provide a sample test case to add 
> >under
> >tests/exslt/ to check the behaviour in the regression suite ?
> 
> Ugh, in attempting to do this, I found a major problem.  
> xmlXPathOrderDocElems() overwrites the line numbers with the document order 
> number.  My simple test cases didn't trigger this, so things were working 
> fine.  I'll assume you don't want to increase the size of xmlNode, so do you 
> have any other suggestions?

Hum, no. Getting the document order is quite fundamental for performances.
The stylesheets keep their line numbers but the processed data doesn't.
Should I revert the patch ?

Daniel

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



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