1
0
mirror of https://gitlab.gnome.org/GNOME/libxslt synced 2025-07-31 02:43:06 +03:00

fixed a bug reported by Norm Daniel

* libxslt/attributes.c: fixed a bug reported by Norm
Daniel
This commit is contained in:
Daniel Veillard
2002-02-10 21:09:52 +00:00
parent 0f39f084c1
commit 94738b61d3
6 changed files with 18 additions and 5 deletions

View File

@ -1,3 +1,7 @@
Sun Feb 10 22:08:51 CET 2002 Daniel Veillard <daniel@veillard.com>
* libxslt/attributes.c: fixed a bug reported by Norm
Sun Feb 10 20:25:28 CET 2002 Daniel Veillard <daniel@veillard.com>
* python/libxml.c : fixed a small warning.

View File

@ -621,8 +621,8 @@
<arg name='pattern' type='const xmlChar *' info='an XSLT pattern '/>
<arg name='doc' type='xmlDocPtr' info='the containing document '/>
<arg name='node' type='xmlNodePtr' info='the containing element '/>
<arg name='style' type='xsltStylesheetPtr'/>
<arg name='runtime' type='xsltTransformContextPtr'/>
<arg name='style' type='xsltStylesheetPtr' info='the stylesheet '/>
<arg name='runtime' type='xsltTransformContextPtr' info='the transformation context, if done at run-time '/>
</function>
<function name='xsltCopy' file='transform'>
<info>Process the xslt copy node on the source node</info>

View File

@ -2508,6 +2508,7 @@
<ref name='xsltTestCompMatchList'/>
</word>
<word name='done'>
<ref name='xsltCompilePattern'/>
<ref name='xsltEvalGlobalVariables'/>
<ref name='xsltInitCtxtKeys'/>
<ref name='xsltLoadStylesheetPI'/>
@ -3783,6 +3784,9 @@
<word name='run'>
<ref name='WITH_XSLT_DEBUG'/>
</word>
<word name='run-time'>
<ref name='xsltCompilePattern'/>
</word>
</letter>
</chunk>
<chunk name='chunk6'>

View File

@ -471,6 +471,12 @@ xsltAttributeInternal(xsltTransformContextPtr ctxt, xmlNodePtr node,
} else if (comp->ns != NULL) {
ns = xsltGetSpecialNamespace(ctxt, inst, comp->ns, prefix,
ctxt->insert);
} else if (prefix != NULL) {
xmlNsPtr tmp;
tmp = xmlSearchNs(inst->doc, inst, prefix);
if (tmp != NULL) {
ns = xsltGetNamespace(ctxt, inst, tmp, ctxt->insert);
}
}
if ((fromset) && (ns != NULL))

View File

@ -288,6 +288,8 @@ unknown_types = {}
def skip_function(name):
if name[0:12] == "xmlXPathWrap":
return 1
if name == "xsltMatchPattern":
return 1
# if name[0:11] == "xmlXPathNew":
# return 1
return 0

View File

@ -105,9 +105,6 @@ Class transformCtxt()
namespace()
specialNamespace()
# functions from module pattern
matchPattern()
# functions from module templates
attrListTemplateProcess()
attrTemplateProcess()