[xml] Patch proposal: xmlNewReconciliedNs
- From: Boris Erdmann <boris erdmann cx>
- To: xml gnome org
- Subject: [xml] Patch proposal: xmlNewReconciliedNs
- Date: Sat, 02 Mar 2002 22:39:20 +0100
for version 2.4.16 of tree.c:
As mentioned previously: xmlNewReconciliedNs
needs a rough check whether the result of
xmlSearchNsByHref has prefix scope problems:
Boris
4469c4469,4476
< if (def != NULL)
---
> if (def != NULL) {
> /* we roughly need to check that we dont get into
> * def->prefix scope troubles. Unfortunately
> * xmlSearchNS(ByHref) is not sophisticated enough:
> * a fourth parameter to track crossing scopes
> * would surely help.
> */
> if ( def = xmlSearchNs(doc, tree, def->prefix) )
4470a4478,4483
>
> /* until the above suggestion is implemented
> * dont bother any longer: just go on and
> * create some new namespace
> */
> }
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]