[xml] [PATCH 2/3] Fix typos in xmlschemas{,types}.c



Signed-off-by: Jan Pokorný <jpokorny redhat com>
---
 xmlschemas.c      | 4 ++--
 xmlschemastypes.c | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/xmlschemas.c b/xmlschemas.c
index 9f7dd5a..e8aa37b 100644
--- a/xmlschemas.c
+++ b/xmlschemas.c
@@ -1471,7 +1471,7 @@ xmlSchemaWildcardPCToString(int pc)
  * @retValue: the returned value
  * @ws: the whitespace type of the value
  *
- * Get a the cononical representation of the value.
+ * Get a the canonical representation of the value.
  * The caller has to free the returned retValue.
  *
  * Returns 0 if the value could be built and -1 in case of
@@ -19522,7 +19522,7 @@ xmlSchemaCheckAttrPropsCorrect(xmlSchemaParserCtxtPtr pctxt,
        * "if there is a {value constraint}, the canonical lexical
        * representation of its value must be �valid� with respect
        * to the {type definition} as defined in String Valid (�3.14.4)."
-       * TODO: Don't care about the *cononical* stuff here, this requirement
+       * TODO: Don't care about the *canonical* stuff here, this requirement
        * will be removed in WXS 1.1 anyway.
        */
        ret = xmlSchemaVCheckCVCSimpleType(ACTXT_CAST pctxt,
diff --git a/xmlschemastypes.c b/xmlschemastypes.c
index 8cc6bbd..03a55df 100644
--- a/xmlschemastypes.c
+++ b/xmlschemastypes.c
@@ -5648,7 +5648,7 @@ xmlSchemaFormatFloat(double number, char buffer[], int buffersize)
  * @val: the precomputed value
  * @retValue: the returned value
  *
- * Get a the cononical lexical representation of the value.
+ * Get the canonical lexical representation of the value.
  * The caller has to FREE the returned retValue.
  *
  * WARNING: Some value types are not supported yet, resulting
@@ -6070,7 +6070,7 @@ xmlSchemaGetCanonValue(xmlSchemaValPtr val, const xmlChar **retValue)
  * @retValue: the returned value
  * @ws: the whitespace type of the value
  *
- * Get a the cononical representation of the value.
+ * Get the canonical representation of the value.
  * The caller has to free the returned @retValue.
  *
  * Returns 0 if the value could be built, 1 if the value type is
-- 
1.8.1.4



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]