Re: [xslt] XSLT compilation is slow for big XSLTs
- From: Christian Ceelen <christian ceelen gmail com>
- To: The Gnome XSLT library mailing-list <xslt gnome org>
- Subject: Re: [xslt] XSLT compilation is slow for big XSLTs
- Date: Thu, 20 Aug 2015 10:28:44 +0200
Hi Nick,
Thank you very much for the answer. That sounds like a very good idea. Yet would the validation still be correct, if the hashtable is local to the stylesheet in which the template was defined? I was wondering what would happen if the same template name is defined in two files, where one of the files then imports or includes the other. Concerning the imports i think the standard is clear, the defined template has lower preference, so having two with the same name sounds legit to me. But what happens when the file is included?
My current understanding is that real validation requires to walk the include tree for each template name. Would that be correctly replicating the existing behavior?
Btw. In xsltInernals.h:L1514 i found in struct _xsltStylesheet:
void *templatesHash;
Is this table already containing what we want?
Best regards,
Christian
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]