Klaus Demo nginx / 049447b
Merge of r4647: xslt reuse. Fixed the reuse of parsed DTDs and XSLTs. Patch by Kuramoto Eiji. Maxim Dounin 9 years ago
1 changed file(s) with 2 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
809809
810810 file = xmcf->dtd_files.elts;
811811 for (i = 0; i < xmcf->dtd_files.nelts; i++) {
812 if (ngx_strcmp(file[i].name, &value[1].data) == 0) {
812 if (ngx_strcmp(file[i].name, value[1].data) == 0) {
813813 xlcf->dtd = file[i].data;
814814 return NGX_CONF_OK;
815815 }
883883
884884 file = xmcf->sheet_files.elts;
885885 for (i = 0; i < xmcf->sheet_files.nelts; i++) {
886 if (ngx_strcmp(file[i].name, &value[1].data) == 0) {
886 if (ngx_strcmp(file[i].name, value[1].data) == 0) {
887887 sheet->stylesheet = file[i].data;
888888 goto found;
889889 }