fixed (another) problem with cached RVT's (from re-opened #378766).'
authorWilliam M. Brack <wbrack@src.gnome.org>
Thu, 26 Apr 2007 03:04:28 +0000 (03:04 +0000)
committerWilliam M. Brack <wbrack@src.gnome.org>
Thu, 26 Apr 2007 03:04:28 +0000 (03:04 +0000)
* libxslt/transform.c: fixed (another) problem with cached
  RVT's (from re-opened #378766).'

svn path=/trunk/; revision=1425

ChangeLog
libxslt/transform.c

index ab619a7..d4d82b2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Thu Apr 26 11:10:18 HKT 2007 William Brack <wbrack@mmm.com.hk>
+
+       * libxslt/transform.c: fixed (another) problem with cached
+         RVT's (from re-opened #378766).
+
 Tue Mar 27 16:50:52 CEST 2007 Daniel Veillard <daniel@veillard.com>
 
        * libxslt/xsltutils.c: apply patch fron Shaun McCance to hook
index 383c90f..179e58c 100644 (file)
@@ -2576,9 +2576,12 @@ xsltApplySequenceConstructor(xsltTransformContextPtr ctxt,
                oldCurInst = ctxt->inst;
                ctxt->inst = cur;
                 ctxt->insert = insert;
+               oldLocalFragmentBase = ctxt->localRVTBase;
+               ctxt->localRVTBase = NULL;
 
                 info->func(ctxt, contextNode, cur, (xsltElemPreCompPtr) info);
 
+               ctxt->localRVTBase = oldLocalFragmentBase;
                /*
                * Cleanup temporary tree fragments.
                */