+Fri May 4 15:51:58 HKT 2007 William Brack <wbrack@mmm.com.hk>
+
+ * libxslt/transform.c: fixed xpath context housekeeping problem
+ on processing "choose" (bug 435479).
+
Thu Apr 26 11:10:18 HKT 2007 William Brack <wbrack@mmm.com.hk>
* libxslt/transform.c: fixed (another) problem with cached
xmlDocPtr oldXPContextDoc = xpctxt->doc;
int oldXPProximityPosition = xpctxt->proximityPosition;
int oldXPContextSize = xpctxt->contextSize;
+ xmlNsPtr oldXPNamespaces = xpctxt->namespaces;
+ int oldXPNsNr = xpctxt->nsNr;
#ifdef XSLT_REFACTORED
xsltStyleItemWhenPtr wcomp = NULL;
xpctxt->doc = oldXPContextDoc;
xpctxt->proximityPosition = oldXPProximityPosition;
xpctxt->contextSize = oldXPContextSize;
+ xpctxt->namespaces = oldXPNamespaces;
+ xpctxt->nsNr = oldXPNsNr;
goto exit;
test_is_true:
xpctxt->doc = oldXPContextDoc;
xpctxt->proximityPosition = oldXPProximityPosition;
xpctxt->contextSize = oldXPContextSize;
+ xpctxt->namespaces = oldXPNamespaces;
+ xpctxt->nsNr = oldXPNsNr;
goto process_sequence;
}