Closed jbaysdon closed 9 years ago
Checked in fix for ValidationKernel.text(List) method wherein we don't call checkValueConstraintForElement when the element declaration is null. That can happen when the user specifies the initial type for validation and the element declaration, itself, is unknown or not calculated.
When validating a complexType with simple content via the TypedContext.validate(ContentGenerator, ValidationHandler, QName) method with a non-null QName for the initialType, the validator will throw an NPE in the ValidationKernel.checkValueConstraintForElement method at line 110.