Author: centic
Date: Thu Feb  1 21:25:47 2024
New Revision: 1915523

URL: http://svn.apache.org/viewvc?rev=1915523&view=rev
Log:
Remove some strange characters from comments which cause warnings in SonarQube 
runs

Modified:
    
xmlbeans/trunk/src/main/java/org/apache/xmlbeans/impl/schema/StscChecker.java
    
xmlbeans/trunk/src/main/java/org/apache/xmlbeans/impl/schema/StscComplexTypeResolver.java

Modified: 
xmlbeans/trunk/src/main/java/org/apache/xmlbeans/impl/schema/StscChecker.java
URL: 
http://svn.apache.org/viewvc/xmlbeans/trunk/src/main/java/org/apache/xmlbeans/impl/schema/StscChecker.java?rev=1915523&r1=1915522&r2=1915523&view=diff
==============================================================================
--- 
xmlbeans/trunk/src/main/java/org/apache/xmlbeans/impl/schema/StscChecker.java 
(original)
+++ 
xmlbeans/trunk/src/main/java/org/apache/xmlbeans/impl/schema/StscChecker.java 
Thu Feb  1 21:25:47 2024
@@ -327,7 +327,7 @@ public class StscChecker {
                     // 5.1 If the {content type} of the complex type 
definition is a simple type definition, then one of the following must be true:
                     switch (baseType.getContentType()) {
                         case SchemaType.SIMPLE_CONTENT:
-                            // 5.1.1 The {content type} of the {base type 
definition} must be a simple type definition of which the {content type} is a 
�valid restriction� as defined in Derivation Valid (Restriction, Simple) 
(�3.14.6).
+                            // 5.1.1 The {content type} of the {base type 
definition} must be a simple type definition of which the {content type} is a 
valid restriction as defined in Derivation Valid (Restriction, Simple) (3.14.6).
                             SchemaType cType = sType.getContentBasedOnType();
                             if (cType != baseType) {
                                 // We have to check that the contentType is 
legally derived

Modified: 
xmlbeans/trunk/src/main/java/org/apache/xmlbeans/impl/schema/StscComplexTypeResolver.java
URL: 
http://svn.apache.org/viewvc/xmlbeans/trunk/src/main/java/org/apache/xmlbeans/impl/schema/StscComplexTypeResolver.java?rev=1915523&r1=1915522&r2=1915523&view=diff
==============================================================================
--- 
xmlbeans/trunk/src/main/java/org/apache/xmlbeans/impl/schema/StscComplexTypeResolver.java
 (original)
+++ 
xmlbeans/trunk/src/main/java/org/apache/xmlbeans/impl/schema/StscComplexTypeResolver.java
 Thu Feb  1 21:25:47 2024
@@ -1002,7 +1002,7 @@ public class StscComplexTypeResolver {
     static SchemaParticle extendContentModel(SchemaParticle baseContentModel, 
SchemaParticle extendedContentModel, XmlObject parseTree) {
         // http://www.w3.org/TR/xmlschema-1/#element-complexContent::extension
 
-        // 2.1 If the explicit content is empty, then the {content type} of 
the type definition resolved to by the �actual value� of the base 
[attribute]
+        // 2.1 If the explicit content is empty, then the {content type} of 
the type definition resolved to by the actual value of the base [attribute]
         if (extendedContentModel == null) {
             return baseContentModel;
         }



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to