[libxslt] Fix typos
- From: Nick Wellnhofer <nwellnhof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libxslt] Fix typos
- Date: Sun, 15 Sep 2019 12:57:23 +0000 (UTC)
commit 53b30c236360fee1fe346a35f1a785784c0ecb2c
Author: Jan Pokorný <jpokorny redhat com>
Date: Sun Sep 15 13:32:27 2019 +0200
Fix typos
- attrvt: add missing comma
- variables: is compute{ -> d}
- xslt: conte{n -> }xt
- xsltInternals: h{o -> e}ld by
- xsltutils: at{ -> t}ributes
Merge request !6
doc/html/libxslt-variables.html | 2 +-
doc/html/libxslt-xsltInternals.html | 2 +-
doc/libxslt-api.xml | 6 +++---
libxslt/attrvt.c | 2 +-
libxslt/variables.c | 2 +-
libxslt/xslt.c | 2 +-
libxslt/xsltInternals.h | 4 ++--
libxslt/xsltutils.h | 2 +-
8 files changed, 11 insertions(+), 11 deletions(-)
---
diff --git a/doc/html/libxslt-variables.html b/doc/html/libxslt-variables.html
index c97c2a2f..2b54914f 100644
--- a/doc/html/libxslt-variables.html
+++ b/doc/html/libxslt-variables.html
@@ -41,7 +41,7 @@ A:link, A:visited, A:active { text-decoration: underline }
<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span
class="term"><i><tt>style</tt></i>:</span></td><td>the XSLT stylesheet</td></tr><tr><td><span
class="term"><i><tt>cur</tt></i>:</span></td><td>the "param" element</td></tr></tbody></table></div><h3><a
name="xsltParseGlobalVariable" id="xsltParseGlobalVariable"></a>Function: xsltParseGlobalVariable</h3><pre
class="programlisting">void xsltParseGlobalVariable (<a
href="libxslt-xsltInternals.html#xsltStylesheetPtr">xsltStylesheetPtr</a> style, <br />
xmlNodePtr cur)<br />
</pre><p>Parses a global XSLT 'variable' declaration at compilation time and registers it</p>
<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span
class="term"><i><tt>style</tt></i>:</span></td><td>the XSLT stylesheet</td></tr><tr><td><span
class="term"><i><tt>cur</tt></i>:</span></td><td>the "variable" element</td></tr></tbody></table></div><h3><a
name="xsltParseStylesheetCallerParam" id="xsltParseStylesheetCallerParam"></a>Function:
xsltParseStylesheetCallerParam</h3><pre class="programlisting"><a
href="libxslt-xsltInternals.html#xsltStackElemPtr">xsltStackElemPtr</a> xsltParseStylesheetCallerParam
(<a href="libxslt-xsltInternals.html#xsltTransformContextPtr">xsltTransformContextPtr</a> ctxt, <br />
xmlNodePtr inst)<br />
-</pre><p>Processes an xsl:with-param instruction at transformation time. The value is compute, but not
recorded. NOTE that this is also called with an *xsl:param* element from exsltFuncFunctionFunction().</p>
+</pre><p>Processes an xsl:with-param instruction at transformation time. The value is computed, but not
recorded. NOTE that this is also called with an *xsl:param* element from exsltFuncFunctionFunction().</p>
<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span
class="term"><i><tt>ctxt</tt></i>:</span></td><td>the XSLT transformation context</td></tr><tr><td><span
class="term"><i><tt>inst</tt></i>:</span></td><td>the xsl:with-param instruction
element</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the new <a
href="libxslt-xsltInternals.html#xsltStackElemPtr">xsltStackElemPtr</a> or
NULL</td></tr></tbody></table></div><h3><a name="xsltParseStylesheetParam"
id="xsltParseStylesheetParam"></a>Function: xsltParseStylesheetParam</h3><pre class="programlisting">void
xsltParseStylesheetParam (<a
href="libxslt-xsltInternals.html#xsltTransformContextPtr">xsltTransformContextPtr</a> ctxt, <br />
xmlNodePtr cur)<br />
</pre><p>Registers a local XSLT 'param' declaration at transformation time and evaluates its value.</p>
<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span
class="term"><i><tt>ctxt</tt></i>:</span></td><td>the XSLT transformation context</td></tr><tr><td><span
class="term"><i><tt>cur</tt></i>:</span></td><td>the XSLT 'param'
element</td></tr></tbody></table></div><h3><a name="xsltParseStylesheetVariable"
id="xsltParseStylesheetVariable"></a>Function: xsltParseStylesheetVariable</h3><pre
class="programlisting">void xsltParseStylesheetVariable (<a
href="libxslt-xsltInternals.html#xsltTransformContextPtr">xsltTransformContextPtr</a> ctxt, <br />
xmlNodePtr inst)<br />
diff --git a/doc/html/libxslt-xsltInternals.html b/doc/html/libxslt-xsltInternals.html
index f229b710..e4764d7a 100644
--- a/doc/html/libxslt-xsltInternals.html
+++ b/doc/html/libxslt-xsltInternals.html
@@ -677,7 +677,7 @@ The content of this structure is not made public by the API.
<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span
class="term"><i><tt>style</tt></i>:</span></td><td>an XSLT stylesheet</td></tr><tr><td><span
class="term"><i><tt>Returns</tt></i>:</span></td><td>the number of the
slot</td></tr></tbody></table></div><h3><a name="xsltAllocateExtraCtxt"
id="xsltAllocateExtraCtxt"></a>Function: xsltAllocateExtraCtxt</h3><pre class="programlisting">int
xsltAllocateExtraCtxt (<a
href="libxslt-xsltInternals.html#xsltTransformContextPtr">xsltTransformContextPtr</a> ctxt)<br />
</pre><p>Allocate an extra runtime information slot at run-time and return its number This make sure there
is a slot ready in the transformation context</p>
<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span
class="term"><i><tt>ctxt</tt></i>:</span></td><td>an XSLT transformation context</td></tr><tr><td><span
class="term"><i><tt>Returns</tt></i>:</span></td><td>the number of the
slot</td></tr></tbody></table></div><h3><a name="xsltCompileAttr" id="xsltCompileAttr"></a>Function:
xsltCompileAttr</h3><pre class="programlisting">void xsltCompileAttr (<a
href="libxslt-xsltInternals.html#xsltStylesheetPtr">xsltStylesheetPtr</a> style, <br />
xmlAttrPtr attr)<br />
-</pre><p>Precompile an attribute in a stylesheet, basically it checks if it is an attrubute value template,
and if yes establish some structures needed to process it at transformation time.</p>
+</pre><p>Precompile an attribute in a stylesheet, basically it checks if it is an attribute value template,
and if yes, establish some structures needed to process it at transformation time.</p>
<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span
class="term"><i><tt>style</tt></i>:</span></td><td>a XSLT process context</td></tr><tr><td><span
class="term"><i><tt>attr</tt></i>:</span></td><td>the attribute coming from the
stylesheet.</td></tr></tbody></table></div><h3><a name="xsltCreateRVT" id="xsltCreateRVT"></a>Function:
xsltCreateRVT</h3><pre class="programlisting">xmlDocPtr xsltCreateRVT (<a
href="libxslt-xsltInternals.html#xsltTransformContextPtr">xsltTransformContextPtr</a> ctxt)<br />
</pre><p>Creates a Result Value Tree (the XSLT 1.0 term for this is "Result Tree Fragment")</p>
<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span
class="term"><i><tt>ctxt</tt></i>:</span></td><td>an XSLT transformation context</td></tr><tr><td><span
class="term"><i><tt>Returns</tt></i>:</span></td><td>the result value tree or NULL in case of API or internal
errors.</td></tr></tbody></table></div><h3><a name="xsltDecimalFormatGetByName"
id="xsltDecimalFormatGetByName"></a>Function: xsltDecimalFormatGetByName</h3><pre class="programlisting"><a
href="libxslt-xsltInternals.html#xsltDecimalFormatPtr">xsltDecimalFormatPtr</a> xsltDecimalFormatGetByName
(<a href="libxslt-xsltInternals.html#xsltStylesheetPtr">xsltStylesheetPtr</a> style, <br />
xmlChar * name)<br />
diff --git a/doc/libxslt-api.xml b/doc/libxslt-api.xml
index c9f10921..81c7e67d 100644
--- a/doc/libxslt-api.xml
+++ b/doc/libxslt-api.xml
@@ -1030,7 +1030,7 @@ extension element'/>
<typedef name='xsltEffectiveNsPtr' file='xsltInternals' type='xsltEffectiveNs *'/>
<struct name='xsltElemPreComp' file='xsltInternals' type='struct _xsltElemPreComp'>
<field name='next' type='xsltElemPreCompPtr' info=' next item in the global chained
-list hold by xsltStylesheet.'/>
+list held by xsltStylesheet.'/>
<field name='type' type='xsltStyleType' info=' type of the element'/>
<field name='func' type='xsltTransformFunction' info=' handling function'/>
<field name='inst' type='xmlNodePtr' info=' the node in the stylesheet's tree
@@ -1808,7 +1808,7 @@ exits'/>
<arg name='comp' type='xsltElemPreCompPtr' info='precomputed information'/>
</function>
<function name='xsltCompileAttr' file='xsltInternals'>
- <info>Precompile an attribute in a stylesheet, basically it checks if it is an attrubute value
template, and if yes establish some structures needed to process it at transformation time.</info>
+ <info>Precompile an attribute in a stylesheet, basically it checks if it is an attribute value
template, and if yes, establish some structures needed to process it at transformation time.</info>
<return type='void'/>
<arg name='style' type='xsltStylesheetPtr' info='a XSLT process context'/>
<arg name='attr' type='xmlAttrPtr' info='the attribute coming from the stylesheet.'/>
@@ -2606,7 +2606,7 @@ exits'/>
<arg name='cur' type='xmlNodePtr' info='the "attribute-set" element'/>
</function>
<function name='xsltParseStylesheetCallerParam' file='variables'>
- <info>Processes an xsl:with-param instruction at transformation time. The value is compute, but not
recorded. NOTE that this is also called with an *xsl:param* element from exsltFuncFunctionFunction().</info>
+ <info>Processes an xsl:with-param instruction at transformation time. The value is computed, but not
recorded. NOTE that this is also called with an *xsl:param* element from exsltFuncFunctionFunction().</info>
<return type='xsltStackElemPtr' info='the new xsltStackElemPtr or NULL'/>
<arg name='ctxt' type='xsltTransformContextPtr' info='the XSLT transformation context'/>
<arg name='inst' type='xmlNodePtr' info='the xsl:with-param instruction element'/>
diff --git a/libxslt/attrvt.c b/libxslt/attrvt.c
index 9744dfb3..a885526e 100644
--- a/libxslt/attrvt.c
+++ b/libxslt/attrvt.c
@@ -173,7 +173,7 @@ xsltSetAttrVTsegment(xsltAttrVTPtr avt, void *val) {
* @attr: the attribute coming from the stylesheet.
*
* Precompile an attribute in a stylesheet, basically it checks if it is
- * an attrubute value template, and if yes establish some structures needed
+ * an attribute value template, and if yes, establish some structures needed
* to process it at transformation time.
*/
void
diff --git a/libxslt/variables.c b/libxslt/variables.c
index 019486e7..4c972a41 100644
--- a/libxslt/variables.c
+++ b/libxslt/variables.c
@@ -1969,7 +1969,7 @@ xsltVariableLookup(xsltTransformContextPtr ctxt, const xmlChar *name,
* @inst: the xsl:with-param instruction element
*
* Processes an xsl:with-param instruction at transformation time.
- * The value is compute, but not recorded.
+ * The value is computed, but not recorded.
* NOTE that this is also called with an *xsl:param* element
* from exsltFuncFunctionFunction().
*
diff --git a/libxslt/xslt.c b/libxslt/xslt.c
index 53d43c38..77f618c1 100644
--- a/libxslt/xslt.c
+++ b/libxslt/xslt.c
@@ -5498,7 +5498,7 @@ error:
/**
* xsltIncludeComp:
- * @cctxt: the compilation contenxt
+ * @cctxt: the compilation context
* @node: the xsl:include node
*
* Process the xslt include node on the source node
diff --git a/libxslt/xsltInternals.h b/libxslt/xsltInternals.h
index 4ac51446..14a971aa 100644
--- a/libxslt/xsltInternals.h
+++ b/libxslt/xsltInternals.h
@@ -470,7 +470,7 @@ typedef void (*xsltElemPreCompDeallocator) (xsltElemPreCompPtr comp);
*/
struct _xsltElemPreComp {
xsltElemPreCompPtr next; /* next item in the global chained
- list hold by xsltStylesheet. */
+ list held by xsltStylesheet. */
xsltStyleType type; /* type of the element */
xsltTransformFunction func; /* handling function */
xmlNodePtr inst; /* the node in the stylesheet's tree
@@ -582,7 +582,7 @@ struct _xsltNsListContainer {
*/
struct _xsltStylePreComp {
xsltElemPreCompPtr next; /* next item in the global chained
- list hold by xsltStylesheet */
+ list held by xsltStylesheet */
xsltStyleType type; /* type of the item */
xsltTransformFunction func; /* handling function */
xmlNodePtr inst; /* the node in the stylesheet's tree
diff --git a/libxslt/xsltutils.h b/libxslt/xsltutils.h
index 789865a6..ea6c3740 100644
--- a/libxslt/xsltutils.h
+++ b/libxslt/xsltutils.h
@@ -80,7 +80,7 @@ extern "C" {
((n)->type == XML_PI_NODE)))
/*
- * Our own version of namespaced atributes lookup.
+ * Our own version of namespaced attributes lookup.
*/
XSLTPUBFUN xmlChar * XSLTCALL
xsltGetNsProp (xmlNodePtr node,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]