applied patch from Mark Vakoc to fix problem with key matching attribute
authorWilliam M. Brack <wbrack@src.gnome.org>
Fri, 2 Apr 2004 02:19:34 +0000 (02:19 +0000)
committerWilliam M. Brack <wbrack@src.gnome.org>
Fri, 2 Apr 2004 02:19:34 +0000 (02:19 +0000)
* libxslt/keys.c: applied patch from Mark Vakoc to fix problem
  with key matching attribute node.

ChangeLog
libxslt/keys.c

index edb66ae..8a9f749 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2004-04-02 10:17:23 HKT 2004 William Brack <wbrack@mmm.com.hk>
+
+       * libxslt/keys.c: applied patch from Mark Vakoc to fix problem
+         with key matching attribute node.
+
 2004-04-01  Johan Dahlin  <johan@gnome.org>
 
        * python/.cvsignore: Add generated files, to make cvs silent.
index 8abe914..5b4d367 100644 (file)
@@ -654,14 +654,14 @@ xsltInitCtxtKey(xsltTransformContextPtr ctxt, xsltDocumentPtr doc,
                            break;
                         case XML_ATTRIBUTE_NODE: {
                            xmlAttrPtr attr = (xmlAttrPtr) 
-                                             nodelist->nodeTab[i]->psvi;
+                                             nodelist->nodeTab[i];
                            attr->psvi = keyd;
                            break;
                        }
                         case XML_DOCUMENT_NODE:
                         case XML_HTML_DOCUMENT_NODE: {
                            xmlDocPtr kdoc = (xmlDocPtr) 
-                                           nodelist->nodeTab[i]->psvi;
+                                           nodelist->nodeTab[i];
                            kdoc->psvi = keyd;
                            break;
                        }