Re: "Re: [xslt] Apply stylesheet to a subbranch of a document"



On Tue, Oct 07, 2003 at 03:03:49PM +0200, Kasimier Buchcik wrote:
> Let's say some people that I get my money from did not want to take the 
> risk to use functionallity that is not in the specs and thus might be 
> not available in other parsers. Well, they convinced my at last.

  Sounds wise to me :-)

> >>By the way: serializing documents took long time if using functions like 
> >>xmlDocDumpFormatMemoryEnc, until we discovered that serializing directly 
> >>to file was way faster (by the factor of 50 sometimes). I know that 
> >>there was a message about this issue already somewhere on the list; so 
> >>this is just a hint for those who transform huge documents and process 
> >>further with the resulting xml-text. We did a workaround by serializing 
> >>to file and then reloading the document.
> 
> 
> Actually it's not a libxslt but a libxml2 issue, so you want to move it 
> there.
> 
> Using libxml2 2.5.10 (Igor's win binaries) I get the following times for 
>   the serialization of a 7.7 MB xml-file:
> 
> xmlSaveFormatFileEnc      : 2.1 s
> xmlDocDumpFormatMemoryEnc : 77.2 s

  Urgh, yes I have seens some problems like that before, and fixed a couple
durring the summer.

> I don't know if you still confirm that this is an unexpected behaviour. 

  Well that's definitely unexpected. The question is if it can be replicated
in CVS.

> Should I still report it to bugzilla?

  yes please !

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]