You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@daffodil.apache.org by ja...@apache.org on 2018/10/16 13:27:51 UTC

[incubator-daffodil] branch master updated: Fixed typo in "charaters"

This is an automated email from the ASF dual-hosted git repository.

jadams pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-daffodil.git


The following commit(s) were added to refs/heads/master by this push:
     new 3ca30e8  Fixed typo in "charaters"
3ca30e8 is described below

commit 3ca30e8ddfbdbbdfed94311c11234d6b56df5681
Author: Josh Adams <ja...@tresys.com>
AuthorDate: Mon Oct 15 14:56:49 2018 -0400

    Fixed typo in "charaters"
---
 .../main/scala/org/apache/daffodil/io/DataStreamCommonImplMixin.scala   | 2 +-
 .../src/main/scala/org/apache/daffodil/cookers/EntityReplacer.scala     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/daffodil-io/src/main/scala/org/apache/daffodil/io/DataStreamCommonImplMixin.scala b/daffodil-io/src/main/scala/org/apache/daffodil/io/DataStreamCommonImplMixin.scala
index eacf4a2..c4fb403 100644
--- a/daffodil-io/src/main/scala/org/apache/daffodil/io/DataStreamCommonImplMixin.scala
+++ b/daffodil-io/src/main/scala/org/apache/daffodil/io/DataStreamCommonImplMixin.scala
@@ -43,7 +43,7 @@ trait DataStreamCommonState {
   var debugging: Boolean = false
   //
   // These are for dealing with 4-byte UTF-8 codepoints
-  // that require 2 16-bit charaters.
+  // that require 2 16-bit characters.
   //
   // This only comes up in an incredibly obscure case
   // when fillCharBuffer is called with a char buffer having
diff --git a/daffodil-lib/src/main/scala/org/apache/daffodil/cookers/EntityReplacer.scala b/daffodil-lib/src/main/scala/org/apache/daffodil/cookers/EntityReplacer.scala
index 4117218..340c466 100644
--- a/daffodil-lib/src/main/scala/org/apache/daffodil/cookers/EntityReplacer.scala
+++ b/daffodil-lib/src/main/scala/org/apache/daffodil/cookers/EntityReplacer.scala
@@ -512,7 +512,7 @@ sealed abstract class StringLiteralBase(
       case whitespaceMatcher(_) => true
       case _ => false
     }
-    context.schemaDefinitionWhen(hasWhitespace, "For %s, the string (%s) must not contain any whitespace. Use DFDL Entities for whitespace charaters.", propName, raw)
+    context.schemaDefinitionWhen(hasWhitespace, "For %s, the string (%s) must not contain any whitespace. Use DFDL Entities for whitespace characters.", propName, raw)
     testRaw(raw, context)
     val thawed = thaw(raw)
     testThawed(thawed, context)