Skip to content

Commit

Permalink
Merge pull request #7 from waywardmonkeys/fix-typos
Browse files Browse the repository at this point in the history
Fix typos.
  • Loading branch information
dajobe committed Mar 5, 2017
2 parents 38391bf + c122132 commit 2433d4c
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion INSTALL.html
Expand Up @@ -15,7 +15,7 @@ <h2>1. Getting the sources</h2>
are recommended as the first place to start. If you want to get a
newer set, then there are nightly snapshots made of the development
sources, which may not yet be committed to GIT. For the
latest developent sources, anonymous GIT access is available
latest development sources, anonymous GIT access is available
but this may require some configuring of developer tools that are not
needed for the snapshot releases.
</p>
Expand Down
12 changes: 6 additions & 6 deletions RELEASE.html
Expand Up @@ -2501,7 +2501,7 @@ <h3>Query API Changes</h3>
<p>Added a <code>rasqal_update_operation</code> class for holding
an updates that adds and/or removes triples from a graph (with
possible conditional where) or does a graph administration
operation on a grpah.
operation on a graph.
</p>

<p>Added an <code>rasqal_update_type</code> enum for the types of
Expand Down Expand Up @@ -3602,7 +3602,7 @@ <h3>Public API changes</h3>

<p>Added <code>RASQAL_COMPARE_RDF</code> and
<code>RASQAL_COMPARE_URI</code> comparison types for RDF Term
comparsion rules and allowing URI comparison (without
comparison rules and allowing URI comparison (without
<code>STR()</code>) respectively.</p>

<p>Added <code>rasqal_new_typed_literal()</code> to make an RDF typed
Expand All @@ -3626,7 +3626,7 @@ <h3>Public API changes</h3>
<p>Added addition <code>rasqal_triple_parts</code> enums:
<code>RASQAL_TRIPLE_GRAPH</code> for just the named graph part
<code>RASQAL_TRIPLE_SPO</code> for subject, predicate and objects and
<code>RASQAL_TRIPLE_SPOG</code> for all parts including named grpah.
<code>RASQAL_TRIPLE_SPOG</code> for all parts including named graph.
</p>


Expand Down Expand Up @@ -3681,7 +3681,7 @@ <h3>Decimal Class</h3>
<h3>Query Results Formatter Class Changes</h3>

<p>Updated to the 4th version of the SPARQL XML Results format by
removing the <code>ordered</code> and <code>distict</code>
removing the <code>ordered</code> and <code>distinct</code>
attributes. Removed support for all the earlier versions 1 to 3.</p>


Expand Down Expand Up @@ -4262,7 +4262,7 @@ <h3>Query Engine Changes</h3>
</p>

<p>Do not promote literals early on in comparisons to strings "perl
style" but do the best type-based comparsion as late as possible.
style" but do the best type-based comparison as late as possible.
</p>


Expand Down Expand Up @@ -4611,7 +4611,7 @@ <h3>SPARQL Query Language Changes</h3>
W3C Working Draft, 17 February 2005.
</p>

<p>Added support for casting in constraint expresions for datatyped literals
<p>Added support for casting in constraint expressions for datatyped literals
with the syntax <em>qname</em><code>(</code><em>literal</em><code>)</code>
such as <code>xsd:decimal("10")</code>.
</p>
Expand Down
12 changes: 6 additions & 6 deletions src/rasqal.h.in
Expand Up @@ -433,7 +433,7 @@ typedef struct {
*
* Blank Nodes << IRIs << RDF literals << typed literals
*
* which coresponds to in enum values
* which corresponds to in enum values
*
* BLANK << URI << STRING <<
* (BOOLEAN | INTEGER | DOUBLE | FLOAT | DECIMAL | DATETIME | XSD_STRING)
Expand Down Expand Up @@ -635,7 +635,7 @@ struct rasqal_literal_s {
* @RASQAL_EXPR_EQ: Expression for A equals B
* @RASQAL_EXPR_NEQ: Expression for A not equals B.
* @RASQAL_EXPR_LT: Expression for A less than B.
* @RASQAL_EXPR_GT: Expression for A greather than B.
* @RASQAL_EXPR_GT: Expression for A greater than B.
* @RASQAL_EXPR_LE: Expression for A less than or equal to B.
* @RASQAL_EXPR_GE: Expression for A greater than or equal to B.
* @RASQAL_EXPR_UMINUS: Expression for -A.
Expand Down Expand Up @@ -994,7 +994,7 @@ typedef enum {
* @RASQAL_UPDATE_TYPE_LOAD: Load graph.
* @RASQAL_UPDATE_TYPE_UPDATE: Insert or Delete graph or triples.
* @RASQAL_UPDATE_TYPE_ADD: Add graph to another graph.
* @RASQAL_UPDATE_TYPE_MOVE: Move graph to another grpah.
* @RASQAL_UPDATE_TYPE_MOVE: Move graph to another graph.
* @RASQAL_UPDATE_TYPE_COPY: Copy graph to another graph.
* @RASQAL_UPDATE_TYPE_UNKNOWN: Internal
* @RASQAL_UPDATE_TYPE_LAST: Internal
Expand Down Expand Up @@ -1508,8 +1508,8 @@ int rasqal_data_graph_print(rasqal_data_graph* dg, FILE* fh);
/**
* rasqal_compare_flags:
* @RASQAL_COMPARE_NOCASE: String comparisons are case independent.
* @RASQAL_COMPARE_XQUERY: XQuery comparsion rules apply.
* @RASQAL_COMPARE_RDF: RDF Term comparsion rules apply.
* @RASQAL_COMPARE_XQUERY: XQuery comparison rules apply.
* @RASQAL_COMPARE_RDF: RDF Term comparison rules apply.
* @RASQAL_COMPARE_URI: Allow comparison of URIs and allow strings to have a boolean value (unused; was for RDQL)
* @RASQAL_COMPARE_SAMETERM: SPARQL sameTerm() builtin rules apply.
*
Expand Down Expand Up @@ -1539,7 +1539,7 @@ typedef struct rasqal_random_s rasqal_random;
* @base_uri: base URI of expression context (or NULL)
* @locator: locator or NULL
* @flags: expression comparison flags
* @seed: random seeed
* @seed: random seed
* @random: random number generator object
*
* A context for evaluating an expression such as with
Expand Down
4 changes: 2 additions & 2 deletions src/rasqal_expr.c
Expand Up @@ -1973,7 +1973,7 @@ rasqal_expression_sequence_evaluate(rasqal_query* query,
* The two literals are compared. The comparison returned is as for
* strcmp, first before second returns <0. equal returns 0, and
* first after second returns >0. For URIs, the string value is used
* for the comparsion.
* for the comparison.
*
* See rasqal_literal_compare() for comparison flags.
*
Expand Down Expand Up @@ -2241,7 +2241,7 @@ rasqal_expression_compare(rasqal_expression* e1, rasqal_expression* e2,
*
* INTERNAL - determine if expression is an aggregate expression (at the top; not recursively)
*
* Return value: non-0 if is aggreate
* Return value: non-0 if is aggregate
*/
int
rasqal_expression_is_aggregate(rasqal_expression* e)
Expand Down
4 changes: 2 additions & 2 deletions src/rasqal_internal.h
Expand Up @@ -451,7 +451,7 @@ struct rasqal_query_s {
rasqal_variables_table* vars_table;

/* WAS: The number of selected variables: these are always the first
* in the variables table and are the ones returend to the user.
* in the variables table and are the ones returned to the user.
*/
int unused11;

Expand Down Expand Up @@ -553,7 +553,7 @@ struct rasqal_query_s {
/* INTERNAL SELECT bindings */
rasqal_bindings* bindings;

/* INTERNAL static structure for expresion evaluation*/
/* INTERNAL static structure for expression evaluation*/
rasqal_evaluation_context *eval_context;

/* INTERNAL flag: non-0 if user set a random seed via RASQAL_FEATURE_RAND_SEED */
Expand Down
2 changes: 1 addition & 1 deletion src/rasqal_literal.c
Expand Up @@ -2382,7 +2382,7 @@ rasqal_literal_rdql_promote_calculate(rasqal_literal* l1, rasqal_literal* l2)
*
* The comparison returned is as for strcmp, first before second
* returns <0. equal returns 0, and first after second returns >0.
* For URIs, the string value is used for the comparsion.
* For URIs, the string value is used for the comparison.
*
* flag bits affects comparisons:
* RASQAL_COMPARE_NOCASE: use case independent string comparisons
Expand Down

0 comments on commit 2433d4c

Please sign in to comment.