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

borisk pushed a commit to branch xerces-3.2
in repository https://gitbox.apache.org/repos/asf/xerces-c.git

commit a032d8c22fedda41c917acaf626dfe356898429c
Author: Boris Kolpackov <bo...@codesynthesis.com>
AuthorDate: Wed Dec 13 08:37:35 2023 +0200

    Fix comments to make all source code valid UTF-8
---
 src/xercesc/util/XMLFloat.cpp                    |  2 +-
 src/xercesc/validators/schema/TraverseSchema.cpp | 12 ++++++------
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/src/xercesc/util/XMLFloat.cpp b/src/xercesc/util/XMLFloat.cpp
index ffd7ae073..600d2a756 100644
--- a/src/xercesc/util/XMLFloat.cpp
+++ b/src/xercesc/util/XMLFloat.cpp
@@ -51,7 +51,7 @@ void XMLFloat::checkBoundary(char* const strValue)
          *  float related checking
          */
 
-        // 3.2.4 The basic value space of float consists of the values m � 
2^e, where 
+        // 3.2.4 The basic value space of float consists of the values m × 
2^e, where 
         //    m is an integer whose absolute value is less than 2^24, 
         //    and e is an integer between -149 and 104, inclusive
         static const double fltMin = pow(2.0,-149);
diff --git a/src/xercesc/validators/schema/TraverseSchema.cpp 
b/src/xercesc/validators/schema/TraverseSchema.cpp
index 48ba8c0fe..2ade0dcdd 100644
--- a/src/xercesc/validators/schema/TraverseSchema.cpp
+++ b/src/xercesc/validators/schema/TraverseSchema.cpp
@@ -8051,9 +8051,9 @@ bool TraverseSchema::wildcardAllowsNamespace(const 
SchemaAttDef* const wildCard,
     }
 
     // All of the following must be true:
-    //    2.1 The constraint is a pair of not and a namespace name or �absent
-    //    2.2 The value must not be identical to the �namespace test�.
-    //    2.3 The value must not be �absent�.
+    //    2.1 The constraint is a pair of not and a namespace name or absent
+    //    2.2 The value must not be identical to the namespace test.
+    //    2.3 The value must not be absent.
     if (wildCardType == XMLAttDef::Any_Other &&
         ((int) nameURI) != fEmptyNamespaceURI &&
         wildCard->getAttName()->getURI() != nameURI) {
@@ -8091,7 +8091,7 @@ bool TraverseSchema::isWildCardSubset(const SchemaAttDef* 
const baseAttWildCard,
     }
 
     // 2 All of the following must be true:
-    //     2.1 sub must be a pair of not and a namespace name or �absent�.
+    //     2.1 sub must be a pair of not and a namespace name or absent.
     //     2.2 super must be a pair of not and the same value.
     if (childWildCardType == XMLAttDef::Any_Other && baseWildCardType == 
XMLAttDef::Any_Other &&
         childAttWildCard->getAttName()->getURI() == 
baseAttWildCard->getAttName()->getURI()) {
@@ -8099,10 +8099,10 @@ bool TraverseSchema::isWildCardSubset(const 
SchemaAttDef* const baseAttWildCard,
     }
 
     // 3 All of the following must be true:
-    //     3.1 sub must be a set whose members are either namespace names or 
�absent�.
+    //     3.1 sub must be a set whose members are either namespace names or 
absent.
     //     3.2 One of the following must be true:
     //          3.2.1 super must be the same set or a superset thereof.
-    //          3.2.2 super must be a pair of not and a namespace name or 
�absent� and
+    //          3.2.2 super must be a pair of not and a namespace name or 
absent and
     //                 that value must not be in sub's set.
     if (childWildCardType == XMLAttDef::Any_List) {
 


---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscr...@xerces.apache.org
For additional commands, e-mail: c-dev-h...@xerces.apache.org

Reply via email to