Exemple #1
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="failure">net.sf.saxon.type.ValidationFailure.</param>
        public void reportInvalidity(JInvalidity failure)
        {
            ValidationFailure se = new ValidationFailure((JValidationFailure)failure);

            errorList.Add(se);

            //invalidityHandler.reportInvalidity (se);
        }
Exemple #2
0
 /// <summary>
 /// Receive notification of a validity error.
 /// </summary>
 /// <param name="i">Information about the nature of the invalidity.</param>
 public void reportInvalidity(JInvalidity i)
 {
     if (i is JValidationFailure)
     {
         ValidationFailure error = new ValidationFailure((JValidationFailure)i);
         inHandler.reportInvalidity(error);
     }
 }