olabusayoT commented on code in PR #1293:
URL: https://github.com/apache/daffodil/pull/1293#discussion_r1763760470


##########
daffodil-core/src/main/scala/org/apache/daffodil/core/grammar/ElementBaseGrammarMixin.scala:
##########
@@ -1611,37 +1611,47 @@ trait ElementBaseGrammarMixin
         )
       case _ => // ok
     }
+
     /*
-     * When lengthKind is explicit and length is a constant, it is a warning if
-     * the type is a type that respects minLength and maxLength, and the 
constant length
-     * is not in range.
+     * Warn if a type respects minLength/maxLength/length facets and we can 
calculate that the
+     * infoset length will be out of range of the facet values. Note that we 
can only do this in
+     * specific cases, like when the length and encodig properties are 
constant and the encoding

Review Comment:
   encoding*



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to