@@ -175,7 +175,7 @@ else if (!isUnsigned(blockLengthType.primitiveType()))
175175 }
176176
177177 final PrimitiveValue blockLengthTypeMaxValue = blockLengthType .maxValue ();
178- validateMaxValue (node , blockLengthType .primitiveType (), blockLengthTypeMaxValue );
178+ validateGroupMaxValue (node , blockLengthType .primitiveType (), blockLengthTypeMaxValue );
179179 }
180180
181181 if (numInGroupType == null )
@@ -194,7 +194,7 @@ else if (!isUnsigned(numInGroupType.primitiveType()))
194194 }
195195
196196 final PrimitiveValue numInGroupMaxValue = numInGroupType .maxValue ();
197- validateMaxValue (node , numInGroupType .primitiveType (), numInGroupMaxValue );
197+ validateGroupMaxValue (node , numInGroupType .primitiveType (), numInGroupMaxValue );
198198
199199 final PrimitiveValue numInGroupMinValue = numInGroupType .minValue ();
200200 if (null != numInGroupMinValue )
@@ -237,7 +237,7 @@ else if (primitiveType != UINT8 && primitiveType != UINT16 && primitiveType != U
237237 XmlSchemaParser .handleWarning (node , "\" length\" should be UINT8, UINT16, or UINT32" );
238238 }
239239
240- validateMaxValue (node , primitiveType , lengthType .maxValue ());
240+ validateGroupMaxValue (node , primitiveType , lengthType .maxValue ());
241241 }
242242
243243 if ("optional" .equals (getAttributeValueOrNull (node , "presence" )))
@@ -252,7 +252,7 @@ else if (primitiveType != UINT8 && primitiveType != UINT16 && primitiveType != U
252252 }
253253 }
254254
255- private static void validateMaxValue (
255+ private static void validateGroupMaxValue (
256256 final Node node , final PrimitiveType primitiveType , final PrimitiveValue value )
257257 {
258258 if (null != value )
0 commit comments