System.Xml.Schema.DtdValidator.ValidatePIComment C# (CSharp) Méthode

ValidatePIComment() private méthode

private ValidatePIComment ( ) : void
Résultat void
        private void ValidatePIComment() {
            // When validating with a dtd, empty elements should be lexically empty.
            if (context.NeedValidateChildren ) {
                if (context.ElementDecl.ContentValidator == ContentValidator.Empty) {
                    SendValidationEvent(Res.Sch_InvalidPIComment);
                }
                
            }
        }