The
diff below addresses some typos in the documentation of xmlXPathContext.
I don’t know what format you’d like patches in, or how to provoke
svn to produce nicer diffs. This is against current svn trunk (revision
3592).
(I
came to be looking at this as I’m trying to work out which functions can
modify the context; evaluating an XPath _expression_ can do so, which surprised
me, but maybe I need to RTFM more carefully.)
--
James
=================================================================== --- include/libxml/xpath.h
(revision 3592) +++ include/libxml/xpath.h
(working copy) @@ -310,7 +310,7 @@ int
proximityPosition; /* the
proximity position */ /* extra stuff for XPointer
*/ - int
xptr;
/* it this an XPointer context */ + int
xptr;
/* is this an XPointer context? */ xmlNodePtr
here;
/* for here() */ xmlNodePtr
origin;
/* for origin() */ @@ -332,7 +332,7 @@ /* temporary namespace lists
kept for walking the namespace axis */ xmlNsPtr
*tmpNsList; /*
Array of namespaces */ - int
tmpNsNr;
/* number of namespace in scope */ + int
tmpNsNr;
/* number of namespaces in scope */ /* error reporting
mechanism */ void
*userData;
/* user specific data block */ @@ -340,8 +340,8 @@ xmlError
lastError;
/* the last error */ xmlNodePtr
debugNode; /* the source
node XSLT */ - /* dictionnary */ - xmlDictPtr
dict;
/* dictionnary if any */ + /* dictionary */ + xmlDictPtr
dict;
/* dictionary if any */ int
flags;
/* flags to control compilation */ |